Problem solved !  The emails were being resolved on the box, and not
escaping to the ISP DNS where they would have been MX redirected to the
office. Other email is getting out fine.

Sorry for the stupid and non-PHP related post. I will endeavor to contribute
in future to make up for it !

Thanks,
Ben

"Timothy Hitchens )" <[EMAIL PROTECTED]> wrote in message
008201c2c859$a4320020$0500a8c0@bambino">news:008201c2c859$a4320020$0500a8c0@bambino...
> The box does have a default route to get out of your network I trust??
>
>
> Timothy Hitchens (HiTCHO)
> Web Application Consulting
> e-mail: [EMAIL PROTECTED]
>
> > -----Original Message-----
> > From: Ben [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, 30 January 2003 9:45 PM
> > To: [EMAIL PROTECTED]
> > 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" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > 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
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to