Bueno io uso eso espero que te sea util .
Código PHP:
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->SMTPAuth = true;
$mail->SMTPSecure = "ssl";
$mail->Host = "smtp.gmail.com";
$mail->Port = 465;
$mail->Username = "[email protected]";
$mail->Password = "pass";
$mail->From = "destino";
$mail->FromName = "";
$mail->Subject = "Asunto";
$mail->AltBody = "";
$mail->MsgHTML("Mensaje");
$mail->AddAttachment("files/files.zip");
$mail->AddAttachment("files/img03.jpg");
$mail->AddAddress(correodestino,Nombres);
$mail->IsHTML(true);
if(!$mail->Send()) {
echo "Error: " . $mail->ErrorInfo;
} else {
echo "Ok";
}
Saludos