jakestyler
Mitglied
Da ihr mir ja doch zum Mailer geraten habt, hier mein Script:
Keine PHP Fehler, es gibt die Ausgabe "Message has been sent" - Aber ich bekomme keine Mail :(
Ich mache sicher etwas gehörig falsch, aber was? :)
Danke!
PHP:
<?php
require 'PHPMailerAutoload.php';
$mail = new PHPMailer;
$mail->isSMTP(); // Set mailer to use SMTP
$mail->Host = 'rex26.flatbooster.com'; // Specify main and backup server
$mail->SMTPAuth = true; // Enable SMTP authentication
$mail->Username = 'web123456789123456789'; // SMTP username
$mail->Password = '123456789abcdefghijklmnop'; // SMTP password
$mail->SMTPSecure = 'tls'; // Enable encryption, 'ssl' also accepted
$mail->From = '[email protected]';
$mail->FromName = 'Mailer';
$mail->addAddress('[email protected]'); // Add a recipient
$mail->WordWrap = 50; // Set word wrap to 50 characters
$mail->isHTML(true); // Set email format to HTML
$mail->Subject = 'Here is the subject';
$mail->Body = 'This is the HTML message body <b>in bold!</b>';
$mail->AltBody = 'This is the body in plain text for non-HTML mail clients';
if(!$mail->send()) {
echo 'Message could not be sent.';
echo 'Mailer Error: ' . $mail->ErrorInfo;
exit;
}
echo 'Message has been sent';
?>
Keine PHP Fehler, es gibt die Ausgabe "Message has been sent" - Aber ich bekomme keine Mail :(
Ich mache sicher etwas gehörig falsch, aber was? :)
Danke!