Mail Settings

Opencart allows you to send email with either:

  • PHP Mail (sent from web server)
  • or SMTP (usually sent from another server) 

PHP Mail VS SMTP which is best?
Both work well but PHP Mail is usually faster and usually already setup and working by your host. SMTP is more reliable and likely to end in your customers inbox and not marked as spam. 

- The problem with sending emails using PHP Mail is that it gets sent from your website/server using the hostname they provide and not your domain name.
+ SMTP account will also usually include extra DNS settings to validate your domain further with an SPF record and DKIM signatures.


Recommended setting up mail setting using your email provider SMTP setting but for testing you can use a gmail account.

  1. Login to gmail go to account 'Settings' then 'Forwarding and POP/IMAP'. - Enabled IMAP and/or POP.
  2. Go to Opencart admin Store Settings -> Mail tab. As an example we can use google mail settings:
    Mail Protocol: SMTP
    SMTP Host: smtp.gmail.com
    SMTP Username: [email protected].com
    SMTP Password: password
    SMTP Port: 465 (465=SSL // 587=TLS // 25=SMTP standard)

Also you can install phpMailer to replace opencarts Mail class, ensures all the email headers are included (SPF, DKIM) and fixes display issues on Apple Mail showing an empty preview in the inbox.

https://www.opencart-templates.co.uk/email/php-mailer

Acronyms:

DKMI - DomainKeys Identified Mail
DNS - Domain Name System
SMTP - Simple Mail Transfer Protocol
SPF - Sender Framework Policy

A nice article explaining this further here:
http://www.pixelfire.com.au/website-design-blog/item/112-how-to-configure-opencart-mail-correctly

Featured

Professional Email Template - Advanced

Professional Email Template - Advanced

Responsive HTML Email template - not only will your emails look professional on all desktop computers, it will resize beautifully for viewing on mobile devices! The aim of this new extension was to build a configurable email template which can be ea

£29.00

Modifications Manager

Modifications Manager

Edit modifications (ocmod code) easily from the admin using a xml code editor. The xml ocmod is stored in the database table 'oc_modification' and can be hard to make changes... this extension solves this :) Add/edit modifications. CodeMirr

FREE

PDF Order Invoice

PDF Order Invoice

Attach PDF invoice to order update email or customer download from their account. Works well with Advanced Email Template

£10.00

Admin Order Status Updater

Admin Order Status Updater

Quickly and easily update orders with the same order status and auto populated message.Works very well with email template extension that handles parsing the shortcodes (e.g: {{ firstname }}) to real data. ..

£10.00