I'm with the following problem:
when sending mail using phpmailer it displays the message of connection time out.
- My code:
require_once ('Mailer/PHPMailerAutoload.php');
$mail = new PHPMailer();
$mail->CharSet = "UTF-8";
$body = "mail for client";
$mail->isSMTP();
$mail->Host = "smtp.zoho.com";
$mail->SMTPAuth = true;
$mail->SMTPDebug = 3;
$mail->SMTPSecure = "ssl";
$mail->Port = 465;
$mail->Password = "mypassword";
$mail->Subject = "Subject mail";
$mail->MsgHTML($body);
$mail->AddAddress($address, "Nei");
$mail->Send();
- Msg error:
- if I use for gmail with the same port it works, ie is not my firewall server.
- for example I use the thunderbird works.
- This is a blocking firewall you? it checks a header?
- I need to implement this solution for the customer.