Don’t forget to put
$mail->IsSMTP();
$mail->Host = "smtp.gmail.com";
$mail->SMTPAuth = true;
$mail->SMTPSecure= "ssl";
$mail->Port = 465;
$mail->Username = "[email protected]";
$mail->Password = "password";
for Google Apps secure SMTP login...
That may help you guys...
Worked like a charm here.
About that error:
Quote from: suburbiaboy at Feb 11, 2009, 06:35 AM
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: fsockopen() [function.fsockopen]: unable to connect to smtp.google.com:587 (Connection timed out)
Error type/ Nr.: Warning - 2
File: /home/public_html/manager/includes/controls/class.smtp.php
Line: 104
Line 104 source: $tval); # give up after ? secs
I’m using Modx 0.9.6.2 and eForm 1.4.4.5.
Any help would be greatly appreciated. Thanks, Jamie
You have to update the PHPMailer version. I put the 5.1 and it worked proper... the files are @ /manager/includes/controls