> From: "Ben" <[EMAIL PROTECTED]> > [snip] > > I'm trying to send out emails from a script, using the mail() function. This > works, but only for email addresses that are in the same domain as the > website ! > > So, if the website domain that the script is running within is > www.mysite.com, then > > [EMAIL PROTECTED] is fine > [EMAIL PROTECTED] will not go > > The script is running on a Cobalt RaQ, Linux machine, with sendmail. > > Accessing sendmail from perl CGI presents no such difficulties, so I assume > its not a sendmail / firewall / OS problem. > > I have also tried talking to sendmail directly, from PHP, rather than using > the mail() function, and have found that the same problem occurrs. > > Could it be something in PHP.INI ? >
The value of sendmail_from can affect the return path header and cause receiving systems to block as spam. There's a user contributed note in the manual: <http://www.php.net/manual/en/ref.mail.php> -- Lowell Allen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php