Centos – PHPLIST + PHPMEILER send email with external server or gmail

Open config.conf file

$mail->SMTPSecure = 'ssl';
$mail->Username = '[email protected]_domain.com';
$address = "[email protected]_domain.com";
$mail->Password = 'your_password';
$mail->Port = 465;
$mail->Host = 'ssl://mailmass1.your_domain.com:465';
#$mail->SMTPSecure = 'ssl' ;
#$mail->SMTPAuth = true;
define('TEST', 0);

 

Leave a comment

Your email address will not be published. Required fields are marked *