Configuration ≫ Email

E-Mail Transport Method

Key: EMAIL_TRANSPORT
Path: Configuration > Email
Description: Defines the method for sending mail.

PHP is the default, and uses built-in PHP wrappers for processing.
smtpauth should be used by most sites, as it provides secure sending of authenticated email. You must also configure your smtpauth settings in the appropriate fields in this admin section.
Gmail is used for sending emails using the Google mail service, and requires the [less secure] setting enabled in your gmail account.
sendmail is for linux/unix hosts using the sendmail program on the server
sendmail-f is only for servers which require the use of the -f parameter to use sendmail. This is a security setting often used to prevent spoofing. Will cause errors if your host mailserver is not configured to use it.
Qmail is used for linux/unix hosts running Qmail as sendmail wrapper at /var/qmail/bin/sendmail.

MOST SITES WILL USE [smtpauth].

Send E-Mails

Key: SEND_EMAILS
Path: Configuration > Email
Description: Send out e-mails?
Normally this is set to true.
Set to false to suppress ALL outgoing email messages from this store, such as when working with a test copy of your store offline.

Enable HTML Emails?

Key: EMAIL_USE_HTML
Path: Configuration > Email
Description: Send emails in HTML format if recipient has enabled it in their preferences.

Email Archiving Active?

Key: EMAIL_ARCHIVE
Path: Configuration > Email
Description: If you wish to have email messages archived/stored when sent, set this to "true".

Email Address (Displayed to Contact you)

Key: STORE_OWNER_EMAIL_ADDRESS
Path: Configuration > Email
Description: Email address of Store Owner. Used as "display only" when informing customers of how to contact you.

Email Address (sent FROM)

Key: EMAIL_FROM
Path: Configuration > Email
Description: Address from which email messages will be "sent" by default. Can be over-ridden at compose-time in admin modules.

Emails must send from known domain?

Key: EMAIL_SEND_MUST_BE_STORE
Path: Configuration > Email
Description: Does your mailserver require that all outgoing emails have their "from" address match a known domain that exists on your webserver?

This is often required in order to prevent spoofing and spam broadcasts. If set to Yes, this will cause the email address (sent FROM) to be used as the "from" address on all outgoing mail.

Email Admin Format?

Key: ADMIN_EXTRA_EMAIL_FORMAT
Path: Configuration > Email
Description: Please select the Admin extra email format (Note: Enable HTML Emails must be on for HTML option to work)

Send Copy of Order Confirmation Emails To

Key: SEND_EXTRA_ORDER_EMAILS_TO
Path: Configuration > Email
Description: Send COPIES of order confirmation emails to the following email addresses, in this format: Name 1 <email@address1>, Name 2 <email@address2>

Send Copy of Create Account Emails To - Status

Key: SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO_STATUS
Path: Configuration > Email
Description: Send copy of Create Account Status
0= off 1= on

Send Copy of Create Account Emails To

Key: SEND_EXTRA_CREATE_ACCOUNT_EMAILS_TO
Path: Configuration > Email
Description: Send copy of Create Account emails to the following email addresses, in this format: Name 1 <email@address1>, Name 2 <email@address2>

Send Copy of Customer GV Send Emails To - Status

Key: SEND_EXTRA_GV_CUSTOMER_EMAILS_TO_STATUS
Path: Configuration > Email
Description: Send copy of Customer GV Send Status
0= off 1= on

Send Copy of Customer GV Send Emails To

Key: SEND_EXTRA_GV_CUSTOMER_EMAILS_TO
Path: Configuration > Email
Description: Send copy of Customer GV Send emails to the following email addresses, in this format: Name 1 <email@address1>, Name 2 <email@address2>

Send Copy of Admin GV Mail Emails To - Status

Key: SEND_EXTRA_GV_ADMIN_EMAILS_TO_STATUS
Path: Configuration > Email
Description: Send copy of Admin GV Mail Status
0= off 1= on

Send Copy of Customer Admin GV Mail Emails To

Key: SEND_EXTRA_GV_ADMIN_EMAILS_TO
Path: Configuration > Email
Description: Send copy of Admin GV Mail emails to the following email addresses, in this format: Name 1 <email@address1>, Name 2 <email@address2>

Send Copy of Admin Discount Coupon Mail Emails To - Status

Key: SEND_EXTRA_DISCOUNT_COUPON_ADMIN_EMAILS_TO_STATUS
Path: Configuration > Email
Description: Send copy of Admin Discount Coupon Mail Status
0= off 1= on

Send Copy of Customer Admin Discount Coupon Mail Emails To

Key: SEND_EXTRA_DISCOUNT_COUPON_ADMIN_EMAILS_TO
Path: Configuration > Email
Description: Send copy of Admin Discount Coupon Mail emails to the following email addresses, in this format: Name 1 <email@address1>, Name 2 <email@address2>

Send Copy of Admin Orders Status Emails To - Status

Key: SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS
Path: Configuration > Email
Description: Send copy of Admin Orders Status Status
0= off 1= on

Send Copy of Admin Orders Status Emails To

Key: SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO
Path: Configuration > Email
Description: Send copy of Admin Orders Status emails to the following email addresses, in this format: Name 1 <email@address1>, Name 2 <email@address2>

Send Notice of Pending Reviews Emails To - Status

Key: SEND_EXTRA_REVIEW_NOTIFICATION_EMAILS_TO_STATUS
Path: Configuration > Email
Description: Send copy of Pending Reviews Status
0= off 1= on

Send Notice of Pending Reviews Emails To

Key: SEND_EXTRA_REVIEW_NOTIFICATION_EMAILS_TO
Path: Configuration > Email
Description: Send copy of Pending Reviews emails to the following email addresses, in this format: Name 1 <email@address1>, Name 2 <email@address2>

Set "Contact Us" Email Dropdown List

Key: CONTACT_US_LIST
Path: Configuration > Email
Description: On the "Contact Us" Page, set the list of email addresses , in this format: Name 1 <email@address1>, Name 2 <email@address2>

Contact Us - Show Store Name and Address

Key: CONTACT_US_STORE_NAME_ADDRESS
Path: Configuration > Email
Description: Include Store Name and Address
0= off 1= on

Send Low Stock Emails

Key: SEND_LOWSTOCK_EMAIL
Path: Configuration > Email
Description: When stock level is at or below low stock level send an email
0= off
1= on

Send Low Stock Emails To

Key: SEND_EXTRA_LOW_STOCK_EMAILS_TO
Path: Configuration > Email
Description: When stock level is at or below low stock level send an email to this address, in this format: Name 1 <email@address1>, Name 2 <email@address2>
Key: SHOW_NEWSLETTER_UNSUBSCRIBE_LINK
Path: Configuration > Email
Description: Show "Newsletter Unsubscribe" link in the "Information" side-box?

Audience-Select Count Display

Key: AUDIENCE_SELECT_DISPLAY_COUNTS
Path: Configuration > Email
Description: When displaying lists of available audiences/recipients, should the recipients-count be included?
(This may make things slower if you have a lot of customers or complex audience queries)

SMTP Email Account Mailbox

Key: EMAIL_SMTPAUTH_MAILBOX
Path: Configuration > Email
Description: Enter the mailbox account name ([email protected]) supplied by your host. This is the account name that your host requires for SMTP authentication.
Only required if using SMTP Authentication for email.

SMTP Email Account Password

Key: EMAIL_SMTPAUTH_PASSWORD
Path: Configuration > Email
Description: Enter the password for your SMTP mailbox.
Only required if using SMTP Authentication for email.

SMTP Email Mail Host

Key: EMAIL_SMTPAUTH_MAIL_SERVER
Path: Configuration > Email
Description: Enter the DNS name of your SMTP mail server.
ie: mail.mydomain.com
or 55.66.77.88
Only required if using SMTP Authentication for email.

SMTP Email Mail Server Port

Key: EMAIL_SMTPAUTH_MAIL_SERVER_PORT
Path: Configuration > Email
Description: Enter the IP port number that your SMTP mailserver operates on.
Only required if using SMTP Authentication for email.

Default: 25
Typical values are:
25 - normal unencrypted SMTP
587 - encrypted SMTP
465 - older MS SMTP port

Convert currencies for Text emails

Key: CURRENCIES_TRANSLATIONS
Path: Configuration > Email
Description: What currency conversions do you need for Text emails?
Example = &pound;,£:&euro;,€

Newsletter SMTP Email Account Mailbox

Key: NEWSLETTER_EMAIL_SMTPAUTH_MAILBOX
Path: Configuration > Email
Description: Enter the newsletter mailbox account name ([email protected]) supplied by your host. This is the account name that your newsletter host requires for SMTP authentication.

Newsletter SMTP Email Account Password

Key: NEWSLETTER_EMAIL_SMTPAUTH_PASSWORD
Path: Configuration > Email
Description: Enter the password for your newsletter SMTP mailbox.

Newsletter SMTP Email Mail Host

Key: NEWSLETTER_EMAIL_SMTPAUTH_MAIL_SERVER
Path: Configuration > Email
Description: Enter the DNS name of your Newsletter SMTP mail server if you are using a separate email server for bulk email.

Newsletter SMTP Email Mail Server Port

Key: NEWSLETTER_EMAIL_SMTPAUTH_MAIL_SERVER_PORT
Path: Configuration > Email
Description: Enter the IP port number that your newsletter SMTP mailserver operates on.

Default: 587
Typical values are:
587 - encrypted SMTP
465 - older MS SMTP port

Newsletter Modules

Key: NEWSLETTER_MODULES
Path: Configuration > Email
Description: Enter a comma-separated list of the modules that should use the newsletter settings when sending email (rather than the regular email settings).



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 January 12, 2024 by Scott C Wilson (2e7ec20).