How to set up free Gmail SMTP for the PrestaShop website on localhost?

rts

New member
XNullUser
Joined
Jul 28, 2022
Messages
9
Reaction score
0
Points
1
NullCash
8
Please follow these steps below:

  • Navigate to “Configure” > “Advanced Parameter” to open the “Email” configuration page.
1659110337462.png

  • Send emails to” field: select “Customer service”, and choose “Set my own SMTP parameters (for advanced users ONLY)
  • "SMTP server": enter "smtp.gmail.com"
  • "SMTP password": To get an SMTP password you need to configure the Gmail SMTP server. Follow these steps below:
Step 1: Go to your Google Account and log in.
Step 2: Navigate to “Security” > “Less secure app access”. Click on “Turn on access

1659110365392.png




1659110386732.png





Step 3: Click “App passwords” then login to your Google account as normal

1659110440266.png

Step 4: On the “Select app” field: select “Mail

1659110458724.png

Step 5: Select a device

1659110470304.png

Step 6: Fill in the "Select the app and device you want to generate the app password for" field then click “Generate

1659110481042.png

Step 7: Copy the password that has just been generated and go back to your PrestaShop admin panel.

1659110491217.png

  • Enter the password that you has generated on the “SMTP password” field
1659110501388.png

  • Encryption: choose an encryption
  • Port: enter “587” then select “Both
  • Save
To ensure that the Gmail SMTP setting is successful, you can enter an email address in the "Send a test email to" field then click "Send a test email" to check.

Your Gmail SMTP for localhost setting is done.
 
Top