Email Transport Methods

SMTPAuth and other ways to send email

Email Transport methods explained

Zen Cart supports multiple email transport methods.

Go to Admin > Configuration > Email and try them in this order:

  1. “php” – this uses whatever email method your webserver is configured to use for PHP mail commands, as set by your webhost. This will work fine in most cases.
  2. “smtp” or “smtpauth” – for reliable email, many hosts require that you use “smtp” or usually “smtpauth” and set all the SMTP settings shown lower on the page.
  3. “sendmail” – if “php” doesn’t work and you’re not running a windows server, this is your next likely choice.
  4. “sendmail -f” – this is ideal in cases where your webserver configuration has some tighter security requirements – esp in busy shared-hosting environments.

Zen Cart also supports the use of Qmail and Gmail.

Using SMTPAuth, along with DKIM and SPF, is generally the most trouble-free way to send email from your cart.

You may also wish to use SMTPAuth with an external SMTP provider such as SMTP2Go or Mailgun.

Using Google Mail can be problematic for a number of reasons:

  • If bad guys send spam through your contact us form, Google can decide you are a spammer and start blocking your email. This could wind up making all your cart’s emails (even order confirmations) non-deliverable.

  • Configuring Google Mail to work with an external system like Zen Cart requires you to reduce the security level of Google Mail.




Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified March 10, 2023 by Scott C Wilson (21fb568).