2.14.3.16. Configure mail in OpenCart

Attention!

If you use third-party services to send emails, you should check security restrictions of such services. For example, to send from a @gmail mailbox, you may need security configuration.
  1. Go to "System → Settings":
  2. To the right of the store name, click "Edit":
  3. Switch to "Store" tab (in some versions, you may need to go to "Main" section):
  4. In the "E-Mail" field, specify the mailbox to receive emails (you can specify additional mailboxes later):
  5. Switch to "Mail" tab:
  6. In "Main" section, specify required mail sending method and its corresponding settings:
    • Using PHP mail function with sendmail (not recommended):
      • "Mail protocol" — "Mail".
      • Leave all other fields in section empty.
    • Via SMTP from existing mailbox (recommended method):
      • "Mail protocol" — "SMTP".
      • "Mail function parameters" — empty.
      • "SMTP server name" — mailbox server address.
        • ⚠️ When using SSL/TLS, specify it as ssl://example.com or tls://example.com. For our mail server, specify ssl://mail.adm.tools (when using port 465).
      • "SMTP login" — full name of mailbox used for sending.
      • "SMTP password" — mailbox password.
      • "SMTP порт" — port for connection to mail server.
      • "SMTP timeout" — time allocated for connection and email sending.
  7. In "Email notifications" section, specify additional settings:
    • "Receive notifications" — events for which emails must be sent.
    • "Additional notification addresses" are mailboxes to send email copies to.
  8. Save changes by clicking "Save" in the upper-right corner of the page:
Content

    (4)