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 Relayer Question
is php mail() a relayer?

 1:41 am on Sep 1, 2004 (gmt 0)

When I send mail out via the mail()function, is it considered a relayed message?
I guess, I don't really understand what a relayed message really is.
I think I've got the headers right:
$headers = "MIME-Version: 1.0\n";
$headers .="Content-type: text/html; charset=iso-8859-1\n";
$headers .= "X-Mailer: PHP4\n";
$headers .="X-Priority: 3 (Normal)\n";
$headers .="From: The Name<$femail>\n";

The thing is, one of my customers has a large opt-in base. When he mass mails them, they show up in my WHM stats as relayed messages.
This worries me, as some of the messages are being rejected because they were relayed.

Thanks for your help,



 12:33 am on Sep 2, 2004 (gmt 0)

CodeMonkey welcome to WebmasterWorld!

Do you know what your settings in your php.ini are? Is it possible that it is using a remote mail server which would cause this to be a relayed msg? I am shooting in the dark here.


 2:28 am on Sep 2, 2004 (gmt 0)

Thanks Knowles,
Here is the line from the php.ini file:
sendmail_path = /usr/sbin/sendmail -t -i ;

I assume this means that it is using the local sendmail program?


 5:28 pm on Sep 2, 2004 (gmt 0)

I'd like to know the answer to this as well as I'm looking at doing some opt-in mailings using this function and don't want things to get rejected.

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