In PrestaShop, you can configure SMTP email settings to ensure your store’s emails (order confirmations, newsletters, password resets, etc.) are delivered reliably. Here’s a step-by-step guide:
📌 Steps to Configure SMTP in PrestaShop
- Log in to PrestaShop Back Office
- Go to your PrestaShop admin dashboard.
- Navigate to Email Settings
- From the left menu:
Advanced Parameters
→E-mail
- From the left menu:
- Choose Email Method
- You’ll see two options:
- PHP mail() function (not recommended, often blocked as spam)
- Set my own SMTP parameters ✅ (recommended)
Select “Set my own SMTP parameters (for advanced users only)”
- You’ll see two options:
- Enter SMTP Details
You’ll need to get these details from your hosting provider, Gmail, or email service (e.g., Zoho, Outlook, SendGrid).- Mail domain name:
yourdomain.com
- SMTP server: Example:
smtp.yourdomain.com
orsmtp.gmail.com
- SMTP username: Your full email address (e.g.,
shop@yourdomain.com
) - SMTP password: The email account’s password (or App Password if using Gmail/Outlook)
- Encryption: Choose
SSL
orTLS
(depends on provider) - Port: Usually:
465
for SSL587
for TLS
- Mail domain name:
- Save Settings
- Test Email Configuration
- At the bottom, there’s a “Test your email configuration” option.
- Enter your email and send a test message to confirm it works.
📧 Common SMTP Configurations
🔹 Gmail / Google Workspace
- SMTP server:
smtp.gmail.com
- Port:
465
(SSL) or587
(TLS) - Username: Your full Gmail address
- Password: App Password (not your normal Gmail password; create one in Google Account → Security → App Passwords)
🔹 Outlook / Office 365
- SMTP server:
smtp.office365.com
- Port:
587
(TLS) - Username: Your Outlook/Office email
- Password: Your Outlook password (or App Password if 2FA enabled)
🔹 cPanel Hosting (most web hosts)
- SMTP server:
mail.yourdomain.com
- Port:
465
(SSL) or587
(TLS) - Username: Your full email address
- Password: Your email password
🚨 Troubleshooting Tips
- If the test email fails, check:
- Firewall blocking SMTP ports.
- Correct encryption (SSL vs TLS).
- Use App Passwords for Gmail/Outlook if 2FA is enabled.
- Make sure your hosting allows SMTP connections.