Email being blocked
| From: | Ben | Date: | Wed, 29 Jan 2003 17:44:34 +0000 |
| Subject: | Email being blocked | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-133541@lists.php.net to get a copy of this message | ||
Hi, I have a very frustrating problem that I hope someone can give me an
answer to.
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
test@mysite.com is fine
test@someothersite.com 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 ?
Please help !
Thanks,
Ben Peters