Hello Kevin and all, Sorry Kevin, How do I do that? Excuse me if it's a stupid question...( the only way I know is to set the timeout on the fsockopen function (the fifth parameter). I set it even to 60 but no change... Thanks a lot! -- With best regards from Ukraine, Andre Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org Yahoo! messenger: andre.polykanine; ICQ: 191749952 Twitter: m_elensule ----- Original message ----- From: Kevin Kinsey <kdk@xxxxxxxxxx> To: Andre Polykanine <andre@xxxxxxxx> Date: Tuesday, March 9, 2010, 6:46:24 AM Subject: EHLO error 554: what can it be? Andre Polykanine wrote: > Hello everyone, > > I'm writing a class to send mail via an SMTP server with authorization. > Everything seems to work but I get an EHLO error: > 554 SMTP synchronization error > Where should I look to avoid this? > Thanks! > Be polite :-D Make sure your class waits for the other server's greeting before you send HELO/EHLO. ;-) HTH, Kevin Kinsey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php