slscart logo

Setting up SMTP in slscart

SMTP (outgoing email) settings for various hosts. If you wish to not use SMTP, make the entry for SLS_SMTP_HOST empty (like '') or put two forward slashes in front of it (e.g. //define('SLS_SMTP_HOST','mail.mydomain.com');

These are additional settings in the config file.

define('SLC_SMTP_USER', 'myemailaddr@mydomain.com');
define('SLC_SMTP_PASSWORD', 'user email password');
define('SLC_SMTP_HOST', 'mail.mydomain.com');
define('SLC_SMTP_PORT', 587);
define('SLC_SMTP_AUTH', true);
define('SLC_SMTP_SECURE', 'tls');

The entry for SLC_SMTP_PORT is a whole number and does not have quotes around it.

The entry for SLC_SMTP_AUTH does not have quotes around it. Its values can be TRUE or true or FALSE or false

The valid entries for SLC_SMTP_SECURE are '' or 'tls'  'ssl' is not used anymore because it is unsecure and most emailers banned it.

SMTP using AOL

user: 'youremail@aol.com'
password: 'your aol email password'
host: 'smtp.aol.com'
port number: 587
auth: true
secure: 'tls'

SMTP using slshosting2.com

user: 'youremail@yourdomain.com'
password: 'your email password'
host: 'mail.yourdomain.com'
port number: 587
auth: true
secure: 'tls'

SMTP using slshosting.com

USER: 'youremail@yourdomain.com'
PASSWORD: 'email password'
HOST: 'host.slshosting.com'
PORT: 465
AUTH: true
SECURE: 'ssl'

***