fix
This commit is contained in:
parent
2c3fa04f37
commit
3aa0a64262
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue
Block a user