This commit is contained in:
Gnieark 2015-12-05 20:30:17 +01:00
parent 2c3fa04f37
commit 3aa0a64262

View File

@ -78,12 +78,10 @@ switch($_POST['act']){
//$mail->msgHTML=$lang['E_MAIL_ADD_BOT_INTRO_HTML'].'<p><a href="'.$siteParam['BASEURL'].'validateBot/'.$secret.'">'.$siteParam['BASEURL'].'validateBot/'.$secret.'</a></p>'.$lang['E_MAIL_ADD_BOT_SIGNATURE_HTML'];
$mail->Body = $lang['E_MAIL_ADD_BOT_INTRO']."\n".$siteParam['BASEURL'].'validateBot/'.$secret."\n".$lang['E_MAIL_ADD_BOT_SIGNATURE'];
if (!$mail->send()) {
echo "Mailer Error: " . $mail->ErrorInfo;
error(500,"Mailer Error: " . $mail->ErrorInfo);
} else {
echo "Message sent!";
}
//echo "Message sent!";
}
}
echo "TODO";