PrestaShop Documentation, PrestaShop Tutorials

PrestaShop Email SMTP Configuration

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

  1. Log in to PrestaShop Back Office
    • Go to your PrestaShop admin dashboard.
  2. Navigate to Email Settings
    • From the left menu:
      Advanced ParametersE-mail
  3. 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)”

  4. 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 or smtp.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 or TLS (depends on provider)
    • Port: Usually:
      • 465 for SSL
      • 587 for TLS
  5. Save Settings
  6. 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) or 587 (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) or 587 (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.

 

About zohaibk

We develop useful addons for #E-Commerce and #CRM software to provide extra features.#PrestaShop,#Magento,#SugarCRM,#Vtiger & #Android #apps
View all posts by zohaibk →