For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > December 2006 > Re: Why do PHP emails (that come from a PHP web site) go into the junk email inbox?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Why do PHP emails (that come from a PHP web site) go into the junk email inbox?
hackajar@gmail.com

2006-12-25, 7:59 am

Does the message that's in your junk mail box look like it's from one
of these?

From: <apache@yourhost.com>
From: <nobody@yourhost.com>
From: <www@yourhost.com>

When PHP sends an email using mail() function, your having the web
server user (Usually called "WWW" or "HTTP" or "NOBODY") send email on
your behalf. Lots of spammers do not setup their engines correctly,
and these are the common user names that are used when they start
sending out 1,000+ emails.

Read this carfully: http://us2.php.net/manual/en/function.mail.php
Pay close attention to Example 2

Hackajar
zorag wrote:
> Why do PHP emails (that come from a PHP web site) go into the junk email
> inbox?


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com