# Mail Configuration

BeikeShop emails can be configured in Backstage-System Settings-Email Settings

img.png img.png

The mail engines supported by BeikeShop are: SMTP, Sendmail, Mailgun, Sendcloud
SMTP: Calling a public email server, suitable for scenarios where emails need to be sent through third-party email services such as QQ and Gmail.
Sendmail: is a server level email engine suitable for enterprises that need to build and manage their own email services on the server.
Mailgun: It is a third-party email sending service, and registered users may need a foreign phone number for verification.
Sendcloud: is a well-known third-party email sending service in China that provides efficient and stable email sending solutions, suitable for enterprise level email sending scenarios that require high delivery rates and detailed data analysis.

# QQ Mail

Enter QQ mailbox, click "Settings-Account"

img.png

Enable POP3/SMTP service, click the arrow to view the format, and generate the authorization code:

img.png

img.png

Get the SMTP server and port. Each mailbox has a different SMTP server.

img.png

Email configuration:

Enter BeikeShopBackstage-System Settings-Email Settings,select the email engine: SMTP, and fill in the following information in sequence

Host: smtp.qq.com

User: QQ mailbox

Password: Authorization code

Port: 465

Save after configuration

img.png

# 163Mailbox

Enter 163 mailbox. Click Settings-POP3/SMTP/IMAP

img.png

Enable POP3/SMTP service and generate authorization code

img.png

Get the SMTP server, the port is usually 465, except for special emails!

img.png

Email configuration:

Enter BeikeShopBackstage-System Settings-Email Settings, select the email engine: SMTP, and fill in the following information in sequence

Host: smtp.163.com

User: 163 mailbox

Password: Authorization code

Port: 465

Save after configuration

img.png

# Gmail

Gmail are not applicable in China and will be directly rejected by Google.

Official reference document for Google mailboxes: https://support.google.com/mail/answer/7126229?visit_id=637245836154040494-1719467026&hl=zh-Hans&rd=1

First, you need to apply for a Google mailbox. The specific application steps will not be explained.

Set a dedicated SMTP password, https://security.google.com/settings/security/apppasswords

img.png

Email configuration:

Enter BeikeShopBackstage-System Settings-Email Settings, select the email engine: SMTP, and fill in the following information in sequence

Host: smtp.gmail.com

User: gmail mailbox

Password: gmail application-specific password

Port: 465

Save after configuration

img.png

Note: For BeikeShop 1.6 and earlier versions, the email address in the background system settings - basic settings must be consistent with the user in the email settings

# Sendcloud

img.png

Configuration steps

1.Login and registration: Open the official website of Sendcloud www.sendcloud.net (opens new window)Click on "Register" in the upper right corner of the page and fill in the relevant information according to the prompts to complete the registration.

img.png

2.Authentication information: After completing registration, log in to the account, perform enterprise authentication in "Authentication", upload relevant authentication information as required, and complete the application review. img.png

3.reate a sending domain name: Add domain name in the sending settings img.png

4.Domain name verification: Verify the domain name that needs to be sent to the user to ensure that sending emails or text messages will not be filtered as spam by the other party (complete domain DNS verification according to Sendcloud prompts) img.png img.png

5.Create API_USER: img.png img.png

6.Create APTI_KEY: img.png

7.Fill in the corresponding positions of API_USER and API_KEY in the system backend email configuration: img.png

Note 1:
In BeikeShop 2.0 and above versions, if there are issues with email configuration, relevant error messages will be recorded in the [System Settings - Mail Logs]. This will not affect customers' normal use of system functions, such as placing orders or user registration. Even if there are issues with the email configuration, the customer's ordering process and user registration process are not affected, and there will be no error prompts on the page. 图片描述
Note 2:
If you need to enable queues to handle email tasks, you must configure the queue service.
For detailed steps, please refer to:Queue Configuration 图片描述

For common issues with email configuration, please refer to: FAQ - Mall Configuration - Email Configuration