Setting up SMTP - config.php

If you want to use SMTP with your PHP List installation. You must add these lines to you config.php file, which should be in the root directory of your installation. I had to look several places to find this information. Pay attention to the port you are using, the wrong port number will keep your installation from working.

define(‘PHPMAILERHOST’, ‘yourwebsite.com’);
$phpmailer_smtpuser = ‘youremail@somewhere.com’;
$phpmailer_smtppassword = ‘email_password’;
define(‘PHPMAILERPORT’,‘587’);
define(‘PHPMAILER_SECURE’,‘tls’);