I just can’t make PHPMailer run on ExeOutput.
It runs well for a long time on php source on my computer (localhost, on Apache, through gmail account, SMTP authentication, withouth sendmail), but no SMTP connection can be established when running on ExeOutput.
I use standard PHPMailer (5.2):
I have enabled php_curl.dll (with ssleay32.dll and libeay32.dll) and php_openssl.dll in ExeOutput.
In Oct 13, there was a similar blog by Stephanie, then closed as solved, but it won’t work on mine.
Does anyone have an idea?
Thanks
Gerhard
It runs well for a long time on php source on my computer (localhost, on Apache, through gmail account, SMTP authentication, withouth sendmail), but no SMTP connection can be established when running on ExeOutput.
I use standard PHPMailer (5.2):
I have tested SMTPSecure with ssl and tls, ports 465 and 587.include ‘mail/PHPMailerAutoload.php’;
$mail = new PHPMailer;
$mail->isSMTP();
$mail->SMTPAuth = true;
$mail->Host = ‘smtp.gmail.com’;
$mail->Username = ‘[email protected]’;
$mail->Password = ‘xxxxxxxxxx’;
$mail->SMTPSecure = ‘tls’;
$mail->Port = 587;
$mail->From = ‘[email protected]’;
$mail->FromName = ‘xxxxxxxxx’;
$mail->addAddress(‘xxxxxxxxx@xxxxxxxxxxx’);
$mail->WordWrap = 50;
$mail->isHTML(true);
$mail->Subject = ‘xxxxxxxxxx’;
$mail->Body = ‘xxxxxxxxxx’;
$mail->send();
I have enabled php_curl.dll (with ssleay32.dll and libeay32.dll) and php_openssl.dll in ExeOutput.
In Oct 13, there was a similar blog by Stephanie, then closed as solved, but it won’t work on mine.
Does anyone have an idea?
Thanks
Gerhard