homepage Welcome to WebmasterWorld Guest from 54.196.199.46
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
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
noyearzero




msg:4146026
 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.

 

coopster




msg:4146863
 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