H3llGhost 10 Geschrieben 22. Mai 2008 Melden Teilen Geschrieben 22. Mai 2008 Hallo Leute, ich besitze einen Server mit Mailenable Standard. Ich versuche schon die ganze Zeit E-Mails an hotmail.de zu senden mit folgendem Code: <?php require("class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); // telling the class to use SMTP $mail->Host = "smtp.battlets.de"; // SMTP server $mail->Hostname = "www.battlets.de"; $mail->From = "webmaster@battlets.de"; $mail->Sender = "webmaster@battlets.de"; $mail->FromName = "Webmaster"; $mail->AddAddress("the_d3vil@hotmail.de", "The D3vil"); $mail->Mailer = "smtp"; $mail->Subject = "First PHPMailer Message"; $mail->Body = "Hi! \n\n This is my first e-mail sent through PHPMailer."; $mail->WordWrap = 50; if(!$mail->Send()) { echo 'Message was not sent.'; echo 'Mailer error: ' . $mail->ErrorInfo; } else { echo 'Message has been sent.'; } ?> Leider bis jetzt immer ohne Erfolg! In dem Log steht folgendes drin: 05/22/08 22:29:30 SMTP-IN FD781C2C980F40238E5FEF4B2469FCDE.MAI 372 85.114.141.180 220 mail.battleing.de ESMTP MailEnable Service, Version: 1.983-- ready at 05/22/08 22:29:30 0 0 05/22/08 22:29:30 SMTP-IN FD781C2C980F40238E5FEF4B2469FCDE.MAI 372 85.114.141.180 EHLO EHLO http://www.battlets.de 250-battleing.de [85.114.141.180], this server offers 4 extensions 134 28 05/22/08 22:29:30 SMTP-IN FD781C2C980F40238E5FEF4B2469FCDE.MAI 372 85.114.141.180 MAIL MAIL FROM:<webmaster@battlets.de> 250 Requested mail action okay, completed 43 41 05/22/08 22:29:30 SMTP-IN FD781C2C980F40238E5FEF4B2469FCDE.MAI 372 85.114.141.180 RCPT RCPT TO:<the_d3vil@hotmail.de> 250 Requested mail action okay, completed 43 32 05/22/08 22:29:30 SMTP-IN FD781C2C980F40238E5FEF4B2469FCDE.MAI 372 85.114.141.180 DATA DATA 354 Start mail input; end with <CRLF>.<CRLF> 46 6 05/22/08 22:29:31 SMTP-IN 5374A352B0134A039E3677FC5E1AB6D3.MAI 372 85.114.141.180 QUIT quit 221 Service closing transmission channel 42 6 05/22/08 22:29:32 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.245.8 CONN - 0 0 05/22/08 22:29:32 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.244.40 CONN 220 bay0-mc2-f8.bay0.hotmail.com Sending unsolicited commercial or bulk e-mail to Microsoft's computer network is prohibited. Other restrictions are found at Microsoft Anti-Spam Policy. Violations will result in use of equipment located in California and other states. Thu, 22 May 2008 13:29:33 -0700 0 310 05/22/08 22:29:32 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.244.40 EHLO EHLO mail.battleing.de 250-bay0-mc2-f8.bay0.hotmail.com (3.5.0.22) Hello [85.114.141.180] 30 187 05/22/08 22:29:32 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.244.40 MAIL MAIL FROM:<webmaster@battlets.de> SIZE=652 250 webmaster@battlets.de....Sender OK 50 46 05/22/08 22:29:33 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.244.40 RCPT RCPT TO:<the_d3vil@hotmail.de> 250 the_d3vil@hotmail.de 32 27 05/22/08 22:29:33 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.244.40 DATA DATA 354 Start mail input; end with <CRLF>.<CRLF> 6 46 05/22/08 22:29:33 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.244.40 DATE 250 <71393eacde04ee7fb53b529b37c2467b@www.battlets.de> Queued mail for delivery 663 88 05/22/08 22:29:33 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.244.40 QUIT QUIT 221 bay0-mc2-f8.bay0.hotmail.com Service closing transmission channel 6 71 05/22/08 22:30:36 SMTP-IN 122C9E1726724D7C90B2954D543BE59B.MAI 412 84.190.53.142 220 mail.battleing.de ESMTP MailEnable Service, Version: 1.983-- ready at 05/22/08 22:30:36 0 0 Hat jemand eine Idee woran das liegen kann? Danke im Voraus! Zitieren Link zu diesem Kommentar
GuentherH 61 Geschrieben 22. Mai 2008 Melden Teilen Geschrieben 22. Mai 2008 Hi. In der Fehlermeldung steht aber ganz klar, warum der Server die Nachricht nicht annimmt. Und wenn du auch noch auf den Link klickst, erfährst du was du unternehmen musst um nicht als Spammer eingestuft zu werden. LG Günther Zitieren Link zu diesem Kommentar
H3llGhost 10 Geschrieben 23. Mai 2008 Autor Melden Teilen Geschrieben 23. Mai 2008 Hallo, ich habe nun folgende Seite gefunden: MICROSOFT ANTI-SPAM-RICHTLINIE Ist der Header nicht in Ordnung? Was könnte daran falsch sein? EDIT: Der Code oben ist falsch ... <?php require("class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); // telling the class to use SMTP $mail->Host = "85.114.141.180"; // SMTP server $mail->Hostname = "www.battle55-stats.de"; $mail->From = "webmaster@battle55-stats.de"; $mail->Sender = "webmaster@battle55-stats.de"; $mail->FromName = "Webmaster"; $mail->AddAddress("the_d3vil@hotmail.de", "The D3vil"); $mail->Mailer = "smtp"; $mail->Subject = "First PHPMailer Message"; $mail->Body = "Hi! \n\n This is my first e-mail sent through PHPMailer."; $mail->WordWrap = 50; if(!$mail->Send()) { echo 'Message was not sent.'; echo 'Mailer error: ' . $mail->ErrorInfo; } else { echo 'Message has been sent.'; } ?> 05/22/08 22:29:30 SMTP-IN FD781C2C980F40238E5FEF4B2469FCDE.MAI 372 85.114.141.180 220 mail.battle55-gaming.de ESMTP MailEnable Service, Version: 1.983-- ready at 05/22/08 22:29:30 0 0 05/22/08 22:29:30 SMTP-IN FD781C2C980F40238E5FEF4B2469FCDE.MAI 372 85.114.141.180 EHLO EHLO http://www.battlets.de 250-battle55-gaming.de [85.114.141.180], this server offers 4 extensions 134 28 05/22/08 22:29:30 SMTP-IN FD781C2C980F40238E5FEF4B2469FCDE.MAI 372 85.114.141.180 MAIL MAIL FROM:<webmaster@battle55-stats.de> 250 Requested mail action okay, completed 43 41 05/22/08 22:29:30 SMTP-IN FD781C2C980F40238E5FEF4B2469FCDE.MAI 372 85.114.141.180 RCPT RCPT TO:<the_d3vil@hotmail.de> 250 Requested mail action okay, completed 43 32 05/22/08 22:29:30 SMTP-IN FD781C2C980F40238E5FEF4B2469FCDE.MAI 372 85.114.141.180 DATA DATA 354 Start mail input; end with <CRLF>.<CRLF> 46 6 05/22/08 22:29:31 SMTP-IN 5374A352B0134A039E3677FC5E1AB6D3.MAI 372 85.114.141.180 QUIT quit 221 Service closing transmission channel 42 6 05/22/08 22:29:32 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.245.8 CONN - 0 0 05/22/08 22:29:32 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.244.40 CONN 220 bay0-mc2-f8.bay0.hotmail.com Sending unsolicited commercial or bulk e-mail to Microsoft's computer network is prohibited. Other restrictions are found at Microsoft Anti-Spam Policy. Violations will result in use of equipment located in California and other states. Thu, 22 May 2008 13:29:33 -0700 0 310 05/22/08 22:29:32 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.244.40 EHLO EHLO mail.battle55-gaming.de 250-bay0-mc2-f8.bay0.hotmail.com (3.5.0.22) Hello [85.114.141.180] 30 187 05/22/08 22:29:32 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.244.40 MAIL MAIL FROM:<webmaster@battle55-stats.de> SIZE=652 250 webmaster@battle55-stats.de....Sender OK 50 46 05/22/08 22:29:33 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.244.40 RCPT RCPT TO:<the_d3vil@hotmail.de> 250 the_d3vil@hotmail.de 32 27 05/22/08 22:29:33 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.244.40 DATA DATA 354 Start mail input; end with <CRLF>.<CRLF> 6 46 05/22/08 22:29:33 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.244.40 DATE 250 <71393eacde04ee7fb53b529b37c2467b@www.battle55-stats.de> Queued mail for delivery 663 88 05/22/08 22:29:33 SMTP-OU 0C335332700E4E988A8119C37907E30E.MAI 448 65.54.244.40 QUIT QUIT 221 bay0-mc2-f8.bay0.hotmail.com Service closing transmission channel 6 71 05/22/08 22:30:36 SMTP-IN 122C9E1726724D7C90B2954D543BE59B.MAI 412 84.190.53.142 220 mail.battleing.de ESMTP MailEnable Service, Version: 1.983-- ready at 05/22/08 22:30:36 0 0 Zitieren Link zu diesem Kommentar
Empfohlene Beiträge
Schreibe einen Kommentar
Du kannst jetzt antworten und Dich später registrieren. Falls Du bereits ein Mitglied bist, logge Dich jetzt ein.