localhost is ok if u just send mail in the LAN. if you send mail in the internet, it may not be ok, bcoz it will be cut by anti-spam. most smtp servers always validate your HELO area and your DNS and check if them match. ----- Original Message ----- From: "Angelo Zanetti" <angelo@xxxxxxxxxxxx> To: "demo" <demo@xxxxxxxxxxxxxxx> Cc: <php-general@xxxxxxxxxxxxx> Sent: Wednesday, March 28, 2007 5:33 PM Subject: Re: HELO command when sending email using PHP > > > demo wrote: >> please check the RFC 821, it shows the SMTP protocol. >> >> HELO domain.com >> it should fill your Mail server domain in order to prevent email going through most of anti-spam. >> > Thanks, so if Im running localhost, the HELO command will also be localhost? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >