my code is:
try {
$mail
= new PHPMailer(true);
$mail->IsSMTP();
$mail->Host
= 'smtp.zoho.com';
$mail->SMTPAuth = true;
$mail->Port = 465;
$mail->SMTPSecure = 'ssl';
$mail->Username = '...';
$mail->Password = '...';
$mail->SetFrom('...', '...');
$mail->AddReplyTo('...', '...');
$mail->Subject
= '...';
$mail->AddAddress($email, $apelido);
$mail->MsgHTML($html);
$mail->Send();
}catch (phpmailerException $ex) {
echo $ex->errorMessage();
}
can any one help me?
thanks!