homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

mail() what does PHP send as the HELO string

5+ Year Member

Msg#: 4146024 posted 1:21 am on Jun 3, 2010 (gmt 0)

i have an actual mail server on a live server (linux/php) which i want to use to send mail...but from another server (windows/php) that is on another IP. the windows server is on a local network so the way i'm accessing it is with domain names not available across the internet. however the windows server is in a demilitarized zone.

I had pointed the SMPT and smtp_port settings in php.ini to the right values and used to send mail all the time this way. However recently i started getting the "SMTP server response: 550 Your HELO string is incorrect" error intermittently. I can't figure out why sometimes it works and sometimes it doesn't.

i'm wondering if maybe its sending through the domain names in my URI in the HELO string and mail server tries to look them up and finds they are invalid? but that still doesn't explain why it works somtimes.



WebmasterWorld Administrator coopster us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4146024 posted 1:04 pm on Jun 4, 2010 (gmt 0)

Are you certain it is the PHP script failing and not the mail server set up? Or possibly a firewall in between the two?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved