[#] hm X_Shell Backd00r [#]
<?php
require_once 'mail/class.phpmailer.php';
require_once 'mail/class.smtp.php';
$mail = new PHPMailer();
//$mail->SMTPDebug = '2';
$mail->IsSMTP();
$mail->SMTPAuth = true;
$mail->SMTPSecure = "ssl";
$mail->Host = "smtp.bizmail.yahoo.com";
$mail->Port = 465;
$mail->Username = "presforza@abdsystems.com";
$mail->Password = "rojo2000";
$mail->FromName = "Contacto Omdai";
$cabeceras = "MIME-Version: 1.0\r\n";
$cabeceras .= "Content-Type: text/html; charset=UTF-8\r\n";
$motivo = "Solicitud De Registro De Vehículo Histórico";
$mail->IsHTML(true);
$cuerpo_mail =
'<html>
<head>
<title>Buen Fin Autódromo Miguel E. Abed</title>
<meta http-equiv=\"\" content=\"text/html; charset=iso-8859-1\">
</head>
<body style="font-family:Arial, Helvetica, sans-serif">
<div style="width: 100%;display: inline-block;padding: 0 10px;">
<img src="http://omdai.org/noviembre/fia-mex.png" style="float: left; margin-left: 10px;">
<img src="http://omdai.org/noviembre/omdai1.png" style="float:right; margin-right:10px;">
<h3 style="text-align: center;color: #071E47;">SOLICITUD DE REGISTRO DE VEHÍCULO HISTÓRICO </h3>
</div>
<hr style="display: inline-block;width: 100%;height: 3px;background-color: #153764;border: 1px solid #153764;border-radius: 25px;">
<p>Muchas gracias por su registro:'.$nombre.'</p>
<p>Verificaremos su información y nos pondremos en contacto con usted.</p>
</body>
</html>';
$email = 'joaquinmo88@gmail.com';
if(mail("$email", $motivo, $cuerpo_mail, $cabeceras)){
echo 'Success';
}
?>
Mr.hm X_Shell Backd00r 1.0, Coded By Mr.hm X_Shell Backd00r