mail return werte gesetzt
This commit is contained in:
parent
2913f3f032
commit
59b5ffc82f
4
mail.php
4
mail.php
@ -83,9 +83,9 @@ function send_php_mail($an, $betreff, $text, $ok = '', $error = '') {
|
|||||||
//$mail->addAttachment('images/phpmailer_mini.png');
|
//$mail->addAttachment('images/phpmailer_mini.png');
|
||||||
|
|
||||||
if (!$mail->send()) {
|
if (!$mail->send()) {
|
||||||
echo 'Mailer Error: ' . $mail->ErrorInfo;
|
echo $error;
|
||||||
} else {
|
} else {
|
||||||
echo 'Message sent!';
|
echo $ok;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user