php.de

Zurück   php.de > Webentwicklung > PHP Einsteiger > PHP Tipps 2008

 
 
LinkBack Themen-Optionen Thema bewerten
Alt 07.07.2008, 16:38  
Neuer Benutzer
 
Registriert seit: 07.07.2008
Beiträge: 6
ochsi
Standard PHPMailer Problem

Guten Tag zusammen

Ich habe ein Problem mit dem PHPMailer. Ich habe zu testzwecken immer mein web.de account genutzt. Dort hat alles Prima funktioniert.

Hier der Quellcodeauszug:

PHP-Code:
$mail = new PHPMailer();

    
$mail->IsSMTP(); //Versand über SMTP festlegen
    
$mail->Host "smtp.web.de"//SMTP-Server setzen

    
$mail->SMTPAuth true;     //Authentifizierung aktivieren
    
$mail->Username "Meinename@web.de";  // SMTP Benutzername
    
$mail->Password "meinPasswort"// SMTP Passwort

    //Absenderadresse der Email setzen
    
$mail->From "MeinName@web.de";

    
//Name des Abenders setzen
    
$mail->FromName "MeineFirma"
Nun hab ich die web.de Daten durch welche von t-online ersetzt:

PHP-Code:
$mail = new PHPMailer();

    
$mail->IsSMTP(); //Versand über SMTP festlegen
    
$mail->Host "smtpmail.t-online.de"//SMTP-Server setzen
    
$mail->do_debug 3;
    
$mail->SMTPDebug true;

    
$mail->SMTPAuth true;     //Authentifizierung aktivieren
    
$mail->Username "Name@t-online.de";  // SMTP Benutzername
    
$mail->Password "PW"// SMTP Passwort

    //Absenderadresse der Email setzen
    
$mail->From "Name@t-online.de";

    
//Name des Abenders setzen
    
$mail->FromName "Name"
Und bekomme mit dem Debug level 3 eine Fehlermeldung.

Code:
SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "220 fwd25.t-online.de T-Online ESMTP receiver fmsad1725 ready. / T-Online ESMTP receiver smtpmail.t-online.de ready. " SMTP -> get_lines(): $data is "220 fwd25.t-online.de T-Online ESMTP receiver fmsad1725 ready. / T-Online ESMTP receiver smtpmail.t-online.de ready. " SMTP -> FROM SERVER: 220 fwd25.t-online.de T-Online ESMTP receiver fmsad1725 ready. / T-Online ESMTP receiver smtpmail.t-online.de ready. SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250-fwd25.t-online.de ready. " SMTP -> get_lines(): $data is "250-fwd25.t-online.de ready. " SMTP -> get_lines(): $data was "250-fwd25.t-online.de ready. " SMTP -> get_lines(): $str is "250-SIZE 52428800 " SMTP -> get_lines(): $data is "250-fwd25.t-online.de ready. 250-SIZE 52428800 " SMTP -> get_lines(): $data was "250-fwd25.t-online.de ready. 250-SIZE 52428800 " SMTP -> get_lines(): $str is "250-8BITMIME " SMTP -> get_lines(): $data is "250-fwd25.t-online.de ready. 250-SIZE 52428800 250-8BITMIME " SMTP -> get_lines(): $data was "250-fwd25.t-online.de ready. 250-SIZE 52428800 250-8BITMIME " SMTP -> get_lines(): $str is "250-AUTH=LOGIN PLAIN " SMTP -> get_lines(): $data is "250-fwd25.t-online.de ready. 250-SIZE 52428800 250-8BITMIME 250-AUTH=LOGIN PLAIN " SMTP -> get_lines(): $data was "250-fwd25.t-online.de ready. 250-SIZE 52428800 250-8BITMIME 250-AUTH=LOGIN PLAIN " SMTP -> get_lines(): $str is "250-AUTH LOGIN PLAIN " SMTP -> get_lines(): $data is "250-fwd25.t-online.de ready. 250-SIZE 52428800 250-8BITMIME 250-AUTH=LOGIN PLAIN 250-AUTH LOGIN PLAIN " SMTP -> get_lines(): $data was "250-fwd25.t-online.de ready. 250-SIZE 52428800 250-8BITMIME 250-AUTH=LOGIN PLAIN 250-AUTH LOGIN PLAIN " SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES " SMTP -> get_lines(): $data is "250-fwd25.t-online.de ready. 250-SIZE 52428800 250-8BITMIME 250-AUTH=LOGIN PLAIN 250-AUTH LOGIN PLAIN 250-ENHANCEDSTATUSCODES " SMTP -> get_lines(): $data was "250-fwd25.t-online.de ready. 250-SIZE 52428800 250-8BITMIME 250-AUTH=LOGIN PLAIN 250-AUTH LOGIN PLAIN 250-ENHANCEDSTATUSCODES " SMTP -> get_lines(): $str is "250 HELP " SMTP -> get_lines(): $data is "250-fwd25.t-online.de ready. 250-SIZE 52428800 250-8BITMIME 250-AUTH=LOGIN PLAIN 250-AUTH LOGIN PLAIN 250-ENHANCEDSTATUSCODES 250 HELP " SMTP -> FROM SERVER: 250-fwd25.t-online.de ready. 250-SIZE 52428800 250-8BITMIME 250-AUTH=LOGIN PLAIN 250-AUTH LOGIN PLAIN 250-ENHANCEDSTATUSCODES 250 HELP SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6 " SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6 " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6 " SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6 " SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "535 5.7.0 Authentication rejected / Authentication failed. " SMTP -> get_lines(): $data is "535 5.7.0 Authentication rejected / Authentication failed. " SMTP -> ERROR: Password not accepted from server: 535 5.7.0 Authentication rejected / Authentication failed. SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 2.0.0 Ok. " SMTP -> get_lines(): $data is "250 2.0.0 Ok. " SMTP -> FROM SERVER: 250 2.0.0 Ok. Die Email konnte nicht gesendet werden
Fehler: SMTP Error: Could not connect to SMTP host.
Ich weiß is heftig sry..

kann mir wer einen Rat geben?

MfG Ochsi
ochsi ist offline  
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 07.07.2008, 17:25  
Erfahrener Benutzer
 
Registriert seit: 17.06.2008
Beiträge: 125
squig befindet sich auf einem aufstrebenden Ast
Standard

Hallo,

Zitat:
Authentication rejected / Authentication failed. " SMTP -> ERROR: Password not accepted from server: 535 5.7.0 Authentication rejected / Authentication failed. SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "250 2.0.0 Ok. " SMTP -> get_lines(): $data is "250 2.0.0 Ok. " SMTP -> FROM SERVER: 250 2.0.0 Ok. Die Email konnte nicht gesendet werden
Fehler: SMTP Error: Could not connect to SMTP host.
Sicher das die von Dir angegebenen Benutzerdaten richtig sind?


Bis dann

squig
squig ist offline  
Alt 07.07.2008, 20:32  
Neuer Benutzer
 
Registriert seit: 07.07.2008
Beiträge: 6
ochsi
Standard

Hi squig

Es is der Benutzername und das Emailpasswort mit welchem ich z.B. auch über Outlook meine Emails bekomme.

Irgendwas haut mit dem smtp server net hin ich steh aufm Schlauch..

MfG Ochsi
ochsi ist offline  
Alt 08.07.2008, 06:41  
Erfahrener Benutzer
 
Registriert seit: 21.05.2008
Beiträge: 9.937
Zergling-new wird schon bald berühmt werden
Standard

Moeglicherweise ist der Zugriff auf dein T-Online-Email-Konto nur erlaubt, wenn du dich auch mit T-Online eingeloggt hast. Ist dein Testserver denn auf deinem Rechner, mit deinem T-Online-Zugang online?

"Password not accepted" ist leider auch etwas doppeldeutig, nicht akzeptiert heisst ja nicht unbedingt weil es falsch ist. Andererseits wuerde sonst wohl eher die Verbindung nicht akzeptiert werden. Andererseits ist der wahrscheinlichste Fall (Passwort falsch) eben meistens der richtige - Pruef also nochmal nach, ob das Passwort wirklich aktuell ist (glauben != nachpruefen)

Ich denke der T-Online-Support kann dir hier besser helfen als wir beim Raten.
Zergling-new ist offline  
Alt 08.07.2008, 09:17  
Neuer Benutzer
 
Registriert seit: 07.07.2008
Beiträge: 6
ochsi
Standard

Hi

Das Passwort ist das Email-Passwort von T-online. Und im Netzt bin ich auch über T-online. Wie gesagt über das Passwort hol ich über Outlook meine Mails.

MfG Ochsi
ochsi ist offline  
Alt 08.07.2008, 10:10  
Neuer Benutzer
 
Registriert seit: 07.07.2008
Beiträge: 6
ochsi
Standard

Hoppala

Bin garnet über T-online im Netzt .....
Wir haben nur das Email-Paket von T-online es soll möglich sein mit dem SMTP.Server: smtprelay.t-online.de Emails zu versenden nun bekomm ich einen ähnlichen Fehler

SMTP -> get_lines(): $data was "" SMTP -> get_lines(): $str is "421 Identification failed (1).

bei t-online find ich keine passende antwort ...
ochsi ist offline  
Alt 08.07.2008, 10:19  
Erfahrener Benutzer
 
Registriert seit: 21.05.2008
Beiträge: 9.937
Zergling-new wird schon bald berühmt werden
Standard

Zitat:
Zitat von ochsi
bei t-online find ich keine passende antwort ...
Wieder so eine nichtssagende Antwort .. T-Online laesst dich nicht rein, du beharrst drauf dass das Passwort aber stimmt. Wie genau sollen wir jetzt helfen?
Zergling-new ist offline  
Alt 08.07.2008, 10:34  
Neuer Benutzer
 
Registriert seit: 07.07.2008
Beiträge: 6
ochsi
Standard

Danke für deine Mühe und verzeih mir ich habe tatsächlich ein falsches PW erhalten...

mir wurde aber mit nachdruck versichert das das Passwort stimmt ...was ja nun nich der Fall war.

Danke nochmal

MfG Ochsi
ochsi ist offline  
 


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
[Erledigt] Galerie Problem... coraplanet PHP Tipps 2008 4 06.06.2008 13:42
Sessions Problem StephenKing PHP Tipps 2008 3 16.10.2007 08:30
datensätze defekt oder problem mit dem einlesen? Ministry Datenbanken 4 06.07.2006 18:42
problem!!! PHP Tipps 2006 6 08.02.2006 11:06
[Erledigt] wieder ein Problem bei phpmailer und smtp PHP Tipps 2006 24 07.02.2006 01:07
Problem bei Massenmails versenden mit der Funktion mail PHP-Fortgeschrittene 3 19.01.2005 13:36
Problem mit Übergabe einer Klasse in PHP4 PHP-Fortgeschrittene 10 08.01.2005 21:00
Problem mit Weiterleitung PHP Tipps 2004-2 16 22.12.2004 17:49
Smarty und PHP-Skript Problem PHP Tipps 2004-2 2 03.12.2004 22:27
PHP Upload (Master Value/Local Value Problem) PHP-Fortgeschrittene 5 23.11.2004 07:21
Problem mit phpmailer PHP Tipps 2004 1 25.10.2004 18:52
Problem mit alter JavaScript-Funktion woods PHP Tipps 2004 1 13.08.2004 13:34
[Erledigt] Problem mit Timestamp! PHP Tipps 2004 24 08.06.2004 19:51
Login Problem PHP Tipps 2004 4 04.06.2004 18:46
foreach problem mAy^daY PHP Tipps 2004 3 02.06.2004 20:29

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
535 5.7.0 authentication rejected / authentication failed., phpmailer t-online, 535 5.7.0 ...authentication rejected, phpmailer smtp error: could not connect to smtp host., mailer error: smtp error: could not connect to smtp host., phpmailer mailer error: smtp error: could not connect to smtp host., smtp error: could not connect to smtp host., phpmailer smtp error could not connect to smtp host, 535 5.7.0 authentication rejected / authentication failed, web.de smtp error: could not connect to smtp host., phpmailer smtp error: could not connect to smtp host, 535 5.7.0 authentication rejected, http://www.php.de/php-tipps-2008/46129-phpmailer-problem.html, 535 5.7.0, t-online phpmailer, die email konnte nicht gesendet werdenfehler: smtp error: could not connect to smtp host., t-online smtp server phpmailer, phpmailer mailer error: smtp error: could not connect to smtp host, smtp error: could not connect to smtp host. die email konnte nicht gesendet werdenfehler: smtp error: could not connect to smtp host., web de fehler 535

Alle Zeitangaben in WEZ +1. Es ist jetzt 04:04 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.