Phpmailer - Hangs
I am trying to send an email via PHPMailer. I have unzipped the PHPMailer file to the server and have this code. I have the extra 'require' as it has been suggested in other posts
Solution 1:
You don't seem to specifying a port
Try adding:
$mail->SMTPAuth = true;
$mail->Port = 25;
See: http://my.eastlink.ca/customersupport/internet/faqs/email.aspx
According to EastLink Doc, when connected with wireless device (not shared):
Server Type: SMTP Port: 465 or 587 Server Name: smtp.eastlink.ca Use STARTTLS
So Try:
$mail->SMTPAuth = true;
$mail->Port = 465;
$mail->SMTPSecure = 'ssl';
// OR $mail->SMTPSecure = 'tls';
Post a Comment for "Phpmailer - Hangs"