List Mail Settings
This page can be accessed by going to System > Settings > Mail
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 Parameters: When using 'Mail', additional mail parameters can be added here
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 email@example.com -r firstname.lastname@example.org"
This setting for experts only and may not work on certain servers.
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)
Once you select Mail Protocol: SMTP the additional smtp settings fields appear:
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: If your host requires you to use SMTP mail, get this from your web host. Default value 5.
Shared hosting companies usually limit the amount of SMTP e-mails you can send.
Example of gmail SMTP settings:
Mail Protocol – SMTP
SMTP Host - ssl://smtp.gmail.com
SMTP Username - your username (aka username if your email is email@example.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. Also please check if you have any firewall on your server that blocks outgoing connections.
Note: "password incorrect" error
Change your Gmail account settings to allow less secure apps to access your account. Follow these steps:
- Go to the "Less secure apps" section in My Account.
- Next to "Access for less secure apps," select Turn on. (Note to Google Apps users: This setting is hidden if your administrator has locked less secure app account access.)
After you have made your changes, select the save button