====== Sending ======
For your phpList system to be able to deliver emails, you need to set up a way for it to send.
There are three different ways to send email.
===== SMTP =====
To send using SMTP, the minimum setting is [[system:config:PHPMAILERHOST]] which you need to set to your SMTP hostname. To use a different port than the default port 25, set [[system:config:PHPMAILERPORT]]
You can also use SMTP-Authentication, by setting [[system:config:phpmailer_smtpuser]] and [[system:config:phpmailer_smtppassword]]
==== Multi SMTP ====
To use multiple SMTP servers, you can set the PHPMAILERHOST to be a semi-colon delimited list of servers. For example
define('PHPMAILERHOST','smtp1.domain.com;smtp2.domain.com');
and it can also contain ports, for example
define('PHPMAILERHOST','smtp1.domain.com:26;smtp2.domain.com:27');
==== Test vs blast ====
To use a different SMTP server for testing or processing the queue, you can set
[[system:config:PHPMAILERTESTHOST]] and [[system:config:PHPMAILERTESTPORT]]
or alternatively
[[system:config:PHPMAILERBLASTHOST]] and [[system:config:PHPMAILERBLASTPORT]]
both of which have the same options as [[system:config:PHPMAILERHOST]] and will default to the value of [[system:config:PHPMAILERHOST]] if not defined.
==== Authenticated SMTP ====
To use a username and password for SMTP authentication set the following in your config file:
$phpmailer_smtpuser = 'smtpuser';
$phpmailer_smtppassword = 'smtppassword';
===== Mail =====
If [[system:config:PHPMAILERHOST]] is not set or empty, the default [[http://php.net/mail|PHP mail command]] will be used. Sending mail will then depend on your PHP installation.
===== Amazon SES =====
To send using Amazon SES, set the following config values for
[[system:config:AWS_ACCESSKEYID]] and [[system:config:AWS_SECRETKEY]]
Also, make sure to set [[system:config:PHPMAILERHOST]] to be empty.