Re(5): PHP - Mailproblem
Geizhals » Forum » Programmierung » PHP - Mailproblem (19 Beiträge, 322 Mal gelesen) Top-100 | Fresh-100
Du bist nicht angemeldet. [ Login/Registrieren ]
.  Re: PHP - Mailproblem  (mko am 28.02.2010, 23:09:11)
..  Re(2): PHP - Mailproblem  (SunnyHill am 28.02.2010, 23:24:26)
...  Re(3): PHP - Mailproblem  (hellbringer am 28.02.2010, 23:26:53)
....  Re(4): PHP - Mailproblem  (SunnyHill am 01.03.2010, 07:19:35)
.....  Re(5): PHP - Mailproblem  (hellbringer am 01.03.2010, 11:07:39)
...  Re(3): PHP - Mailproblem  (mko am 01.03.2010, 07:47:26)
....  Re(4): PHP - Mailproblem  (SunnyHill am 01.03.2010, 07:50:59)
.....  Re(5): PHP - Mailproblem  (user96106 am 01.03.2010, 11:43:48)
...  Re(3): PHP - Mailproblem  (SunnyHill am 03.03.2010, 08:01:17)
....  Re(4): PHP - Mailproblem  (user96106 am 03.03.2010, 09:31:46)
.....
Re(5): PHP - Mailproblem
05.03.2010, 08:39:53
sorry für die späte Antwort....
Leider kann ich machen was ich will; es kommt immer "SMTP Error: Could not connect to SMTP host."

hier nochmals mein phpmailer-Testscript:

<?
require("phpmailer/class.phpmailer.php");

$mail = new PHPMailer();  // create a new object
$mail->IsSMTP();          // enable SMTP
$mail->SMTPAuth = true;   // authentication enabled
//$mail->SMTPSecure = 'ssl';
$mail->Host = 'mail.xxxx.de';
//$mail->Port = 587;

$mail->Username   = "pop.xxxx.de.001";
$mail->Password   = "xxxxx";

$mail->From     = "office@xxxx.de";
$mail->FromName = "Absender";

$mail->AddAddress("Empfänger@email.de","Test");
$mail->AddReplyTo("Empfänger@email.de","Info");

$mail->IsHTML(true);

$mail->Subject    = "Testmail";

$mail->Body       = "Das ist eine HTML-Email.";

$mail->AltBody    = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test

if(!$mail->Send()) {
  echo "Mailer Error: " . $mail->ErrorInfo;
} else {
  echo "Message sent!";
}
?>


Ich habe keine Ahnung mehr, was da los ist; Der ISP (Evanzo.de) ist zum Vergessen; die geben für selbstgeschrieben Scripts keinen Support :-(

Wenn ich zB via gmail smtp-Daten oben eintrage, wird die email gesendet, kommt jedoch nicht an ?-) wenn ich mich dann per gmail per webmail einlogge, ist die gesandte email dort gespeichert, und sagt gmail, dass die email geblockt wurde... ich kenn mich nicht mehr aus :-/

thx, SunnyHill.



   Alles stimmt. Aber auch das Gegenteil.

05.03.2010, 08:42 Uhr - Editiert von SunnyHill, alte Version: hier
Antworten PM Alle Chronologisch Zum Vorgänger
 
Melden nicht möglich
......  Re(6): PHP - Mailproblem  (SunnyHill am 05.03.2010, 09:36:31)
.......  Re(7): PHP - Mailproblem  (user96106 am 05.03.2010, 11:12:39)
.  Re: PHP - Mailproblem  (SunnyHill am 05.03.2010, 16:33:16)
 

Dieses Forum ist eine frei zugängliche Diskussionsplattform.
Der Betreiber übernimmt keine Verantwortung für den Inhalt der Beiträge und behält sich das Recht vor, Beiträge mit rechtswidrigem oder anstößigem Inhalt zu löschen.
Datenschutzerklärung