Setup phpList To Send With SMTP

edited January 2015 in Web Development

Open config/config.php<br><br>Edit the code below:<br><br># To use a SMTP server please give your server hostname here, leave it blank to use the standard<br># PHP mail() command.<br>define("PHPMAILERHOST",'');<br><br># in the above you can specify multiple SMTP servers like this:<br># 'server1:port1;server2:port2;server3:port3' eg<br>define('PHPMAILERHOST','<span style="color: #FF0000;">smtp.thexyzserver.com:25</span>');<br><br># if you want to use smtp authentication when sending the email uncomment the following<br># two lines and set the username and password to be the correct ones<br>$phpmailer_smtpuser = '<span style="color: #FF0000;">email@email.com</span>';<br>$phpmailer_smtppassword = <span style="color: #FF0000;">'***************';</span><br><br>## you can set this to send out via a different SMTP port<br># define('PHPMAILERPORT',25);<br><br>## test vs blast<br># you can send test messages via a different SMTP host than the actual campaign queue <br># if not set, these default to the above PHPMAILERHOST and PHPMAILERPORT<br>define('PHPMAILERTESTHOST','<span style="color: #FF0000;">smtp.thexyzserver.com</span>');<br>define('PHPMAILERBLASTHOST','<span style="color: #FF0000;">smtp.thexyzserver.com</span>');<br>define('PHPMAILERBLASTPORT',25);
Sign In or Register to comment.