To configure and use SMTP for emails in PrestaShop, follow this step-by-step guide.
This works for PrestaShop 1.7 and 8.x.
🔹 Step 1: Go to Email Settings
- Login to your PrestaShop Admin Panel
- Go to:
Advanced Parameters → E-mail
🔹 Step 2: Choose “Set my own SMTP parameters”
Under Mail method, select:
✅ Set my own SMTP parameters
🔹 Step 3: Fill SMTP Details
You need SMTP details from your hosting provider or email provider (like Gmail, Zoho, Outlook).
Example Configuration (General)
| Setting | Value Example |
|---|---|
| SMTP server | smtp.yourdomain.com |
| SMTP username | info@yourdomain.com |
| SMTP password | yourpassword |
| Encryption | TLS or SSL |
| Port | 587 (TLS) / 465 (SSL) |
🔹 Step 4: Common SMTP Configurations
✅ Gmail SMTP
| Setting | Value |
|---|---|
| SMTP server | smtp.gmail.com |
| Encryption | TLS |
| Port | 587 |
| Username | yourgmail@gmail.com |
| Password | App Password (NOT normal password) |
⚠ Gmail requires App Password (Enable 2-Step Verification first).
✅ Zoho Mail
| Setting | Value |
|---|---|
| SMTP server | smtp.zoho.com |
| Encryption | SSL |
| Port | 465 |
✅ cPanel Hosting Email
| Setting | Value |
|---|---|
| SMTP server | mail.yourdomain.com |
| Encryption | SSL |
| Port | 465 |
🔹 Step 5: Save & Test
After entering details:
- Click Save
- Use the “Send a test email” feature
- Enter your email and test
If test email works → ✅ SMTP configured correctly.
🚨 Common Problems & Fix
❌ Email not sending?
✔ Check:
- Port number correct?
- SSL or TLS correct?
- Firewall blocking port?
- Wrong password?
- Hosting disabled external SMTP?
❌ Gmail “Authentication Failed”?
✔ Use App Password
✔ Enable Less Secure Apps (old accounts only)
🔹 Recommended Setup (Best Practice)
If you want best delivery for eCommerce:
- Use Zoho, Google Workspace, or professional SMTP like:
- SendGrid
- Mailgun
- Amazon SES
These improve:
- Order email delivery
- Reduce spam issues
- Better reliability
🔹 Important: Configure These Too
1️⃣ Shop Email Address
Go to:
Shop Parameters → Contact
Set correct shop email.
2️⃣ SPF, DKIM, DMARC (Very Important)
Add these DNS records in your domain hosting panel to avoid spam.
