RE: [PHP] Email being blocked
| From: | Timothy Hitchens \(HiTCHO\) | Date: | Thu, 30 Jan 2003 12:18:04 +0000 |
| Subject: | RE: [PHP] Email being blocked | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133633@lists.php.net to get a copy of this message | ||
The box does have a default route to get out of your network I trust??
Timothy Hitchens (HiTCHO)
Web Application Consulting
e-mail: tim@hitcho.com.au
> -----Original Message-----
> From: Ben [mailto:wdesign@petromedia.co.uk]
> Sent: Thursday, 30 January 2003 9:45 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Email being blocked
>
>
> 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
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php