Re: Email being blocked
| From: | Ben | Date: | Thu, 30 Jan 2003 11:45:22 +0000 |
| Subject: | Re: Email being blocked | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133629@lists.php.net to get a copy of this message | ||
No, its definitely not that. I've set the sendmail_from and it's still not
working.
Also, the mail() function actually fails to return a success code for the
non-sitedomain addresses, implying that the problem is at the source, not
the destination.
Can anyone help?
Thanks
Ben
"Lowell Allen" <la@lowellallen.com> wrote in message
news:BA5D9A9F.12ABB%la@lowellallen.com...
> > From: "Ben" <wdesign@petromedia.co.uk>
> >
> [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
> >
> > 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 ?
> >
>
> 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
>