AbanteCart Mail Configuration

System > Settings > Mail

Alert Mail

Send a email to the store owner when a new order is created.

Additional Alert E-Mails

Any additional emails you want to receive the alert email, in addition to the main store email. (comma separated)

Mail Protocol

Only choose 'Mail' unless your host has disabled the php mail function. Each shared hosting companies have own spam or block e-mail rules. If you want to use PHP mail, you need to make sure that your server can send emails and it is configured properly. This can be sendmail, postfix, or anything else that your server is set up with. Please contact with your hosting if mail not work correctly.

Mail Protocol: Mail

When using 'Mail', additional mail parameters can be added here (e.g. "-fwebmaster@example.com")

The parameters can be used to pass additional flags as command line options to the program configured to be used when sending mail, as defined by the sendmail_path configuration setting.
For example, this can be used to set the envelope sender address when using sendmail with the -f sendmail option.
-f will set the From address, -r will override the default Return-path that sendmail generates (typically the From address gets used).
If you want your bouncebacks to go to a different address than the from address, try using both flags at once: "-f myfromemail@example.com -r mybounceemail@example.com"


This setting for experts only and may not work on certain servers.

Mail Protocol: SMTP

Once you select Mail Protocol: SMTP the additional smtp settings fields appear:

Setting Value
SMTP Host If your host requires you to use SMTP mail, get this from your web host.
SMTP Username If your host requires you to use SMTP mail, get this from your web host.
SMTP Password If your host requires you to use SMTP mail, get this from your web host.
SMTP Port If your host requires you to use SMTP mail, get this from your web host. Default value 25.
SMTP Timeout Default value 5.

Example of gmail SMTP settings

Working with Google’s SMTP Server

Setting Value
Mail Protocol SMTP
SMTP Host ssl://smtp.gmail.com
SMTP Username your username (aka username if your email is username@gmail.com)
SMTP Password your gmail password
SMTP Port 465

As a security precaution, Google (gmail) may prevent an application from accessing your account if it's the first time Google have seen this application sign in to your account, or if it's attempting to sign in from a new location.
Gmail send email “Suspicious sign in prevented” and after login in gmail ask you to confirm this attempt as legal. Just follow Google instructions.

Server Firewall

Also please check with your hosting provider for any firewall on your server that blocks outgoing connections.

Mail Known Issues

Below is a list of the current Mail known issues and their possible workarounds.

  • Warnings in the log: fsockopen() [function.fsockopen]: unable to connect..

    Your PHP was configured without ssl socket transport support. Contact your server administrator and ask him to enable it on your server.
  • when I go to System > Mail I get the following: Method Not Implemented GET to /index.php not supported.

    Contact your server administrator and ask him to change mod_security rule on your server.
  • I want to Don't allow new customer to login until their account has been confirmed by activation link sent via email.

    Set "Approve New Customers" to On in System > Settings > Checkout