Hi everybody,

Stuck again with the ezcMail, maybe you may help me. I'm trying to send a very 
simple mail :

$mail = new ezcMailComposer();
$mail->from = new ezcMailAddress( $this->from["address"], $this->from["label"] 
);
$mail->addTo( new ezcMailAddress( $this->to["address"], $this->to["label"] ) );
$mail->subject = "Revue de presse".date("%d/%m/%Y");
$mail->plainText = "This is the body of the example mail.";
$mail->build();

$options = new ezcMailSmtpTransportOptions(); 
$transport = new ezcMailSmtpTransport( $ms["HostName"], $ms["User"], 
$ms["Password"], 25, $options ); //ms is an array with my settings
$transport->send( $mail );

And I've got the following exception :

An error occured while sending or receiving mail. HELO/EHLO failed with error: .
File : 'E:\APPLI\PHP\PEAR\ezc\Mail\transports\smtp\smtp_transport.php' 
Line : '507' 
Code : 0

Does someone got a clue ?

Regards,

Maxime


Please help Logica to respect the environment by not printing this email  / 
Pour contribuer comme Logica au respect de l'environnement, merci de ne pas 
imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie 
so Logica dabei die Umwelt zu schuetzen  /  Por favor ajude a Logica a 
respeitar o ambiente nao imprimindo este correio electronico.



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.

-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to