Re: Email being blocked

From: Date: Wed, 29 Jan 2003 19:50:07 +0000
Subject: Re: Email being blocked
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-133549@lists.php.net to get a copy of this message
> 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

« previous php.general (#133549) next »