Message:$message";
if ($_POST['email_stacks_in_1930']) {
$mail = new PHPMailer();
$mail->isSendmail();
$mail->setFrom($email, $name);
$mail->addAddress('rrpp@hermandadrociocornella.com', ' ');
$mail->Subject = $subject;
$mail->msgHTML($htmlBody);
$mail->AltBody = $body;
}
if ($_POST['email_stacks_in_1930']) {
if (!$mail->send()) {
echo "
Mailer Error: " . $mail->ErrorInfo . "
";
} else {
echo "
Message sent!
";
}
}
?>