Configuring the SMTP (Simple Mail Transfer Protocol) server is an important step to ensure that emails sent from your PrestaShop online store reach their destination. In this article, we will guide you through the necessary steps to configure the SMTP email sending settings in the back office of your PrestaShop online store.
Configure your Gmail account.
To configure SMTP settings for Gmail, you must first enable two-factor authentication to secure your Gmail account and then configure an application password that will be used to configure SMTP settings in the back office of your PrestaShop store.
1. Enable two-factor authentication.
To enable two-factor authentication on your Gmail account, we recommend that you consult Google's help page on this subject: Enable two-factor authentication on Gmail.
Note: You must follow the same procedure whether you have a free Gmail account or a Google Workspace account.
Create an application password.
To create an application password for your PrestaShop store in Gmail, please follow the steps below:
- Go to Create an application password on Gmail and log in to your account.
- Select Mail from the list of available applications.
- Select Other from the list of devices.
- Provide the name of your choice (for example, "SMTP PrestaShop").
- Click on the Generate button.
- Copy and save the generated password on your computer.
- Click on the Finished button.
Note: please remember to save the generated password for future reference. Otherwise, you will need to generate a new one as Google does not allow you to view the password once you have clicked on the Finished button.
Add your Gmail account as the sending address.
To add your Gmail account as a sending address, configure the SMTP email settings of your PrestaShop store by following these steps:
- Log in to the back office of your PrestaShop online store and then select "Advanced Parameters > Email" from the left menu.
- Under the section "Send my emails to", select the option "Use my own SMTP settings".
- Fill in the required fields with the following information:
- SMTP Server: smtp.gmail.com
- SMTP User: {votre adresse mail}
- SMTP password: {votre mot de passe d’application Gmail}
- Encryption: TLS
- Port: 587
- Click on the Save button to save your settings.
Test the outgoing emails.
You are now ready to test the outgoing emails. In the "Test your email configuration" section, enter your email address and click on the Send a test email button. If everything has been configured correctly, you should receive a test email in your inbox.
In conclusion, configuring your SMTP server is a crucial step to ensure that outgoing emails from your PrestaShop online store reach their destination. By following the steps outlined in this article, you can configure the SMTP server in PrestaShop and be assured that the emails from your online store are sent securely.