Bonjour à tous,
j'ai un gros problème au niveau de l'envoi de mail, je vous met la description de l'erreur ci dessous :
===============================================================================
SMTP -> FROM SERVER:
SMTP -> FROM SERVER:
220 <1236936008.3188@domaine.fr> [XMail 1.11 (Win32/Ix86) ESMTP Server] service ready; Fri, 13 Mar 2009
10:20:08 +0100
SMTP -> ERROR: EHLO not accepted from server: 220 <1236936008.3188@domaine.fr> [XMail 1.11 (Win32/Ix86)
ESMTP Server] service ready; Fri, 13 Mar 2009 10:20:08 +0100
SMTP -> FROM SERVER:
250-domaine.fr
250-VRFY
250-ETRN
250-8BITMIME
250-PIPELINING
250-AUTH LOGIN PLAIN CRAM-MD5
250 SIZE
SMTP -> ERROR: AUTH not accepted from server: 250 domaine.fr
SMTP -> FROM SERVER:
334 VXNlcm5hbWU6
SMTP -> ERROR: RSET failed: 334 VXNlcm5hbWU6
SMTP -> FROM SERVER:
334 UGFzc3dvcmQ6
SMTP -> ERROR: MAIL not accepted from server: 334 UGFzc3dvcmQ6
SMTP -> FROM SERVER:
501 Syntax error in parameters or arguments
SMTP -> ERROR: RSET failed: 501 Syntax error in parameters or arguments
Echec de l'envoie du message<br><br>Language string failed to load: from_failedexpediteur@domaine.frSMTP -
> FROM SERVER:
250 OK
SMTP -> ERROR: SMTP server rejected quit command: 250 OK
Echec de l'envoie du message
==============================================================================
Voici le code d'utilisation de PHPMailer :
=============================================================================
$mail = new PHPmailer();
$mail->SMTPDebug = 2;
$mail->SMTPAuth=true;
$mail->Username='expediteur';
$mail->Password='motdepasse';
$mail->IsSMTP();
$mail->Host='XXX.XXX.XXX.XXX';
$mail->From='expediteur@domaine.fr';
$mail->FromName='expediteur@domaine.fr';
$mail->AddAddress($email_f); //Déstinataire
$mail->AddBCC('destinataire_copie_cachee@domaine.fr');
$mail->IsHTML(true);
$mail->Subject='Titre';
$mail->Body='message';
if(!$mail->Send()){
print("Echec de l'envoie du message");
print("<br><br>".$mail->ErrorInfo);
}
$mail->SmtpClose();
=============================================================================
Lors de la consultation du mot de passe sur l'administration de XMail j'ai le bon mot de passe.
Voici l'environnement technique en ce qui concerne l'envoi de mail de confirmation :
Serveur de Messagerie :
Windows 2000 Server
Xmail 1.11
Serveur web
Apache 2.2.3
Php 5.1.6
RedHat Enterprise Linux Server 5.1
En vous remerciant de votre réponse.
Cordialement.