Re: Re: mail()

From: Date: Tue, 22 Jul 2003 17:00:03 +0000
Subject: Re: Re: mail()
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-156271@lists.php.net to get a copy of this message
At 18:29 22-7-03, you wrote:
joshua.groboski@savvis.net (Joshua Groboski) wrote in news:20030722155305.4004.qmail@pb1.pair.com: but I will get a relaying is denied because the target domain isn't the same domain I am connected to for eg. yahoo.com Why don't you send it to webmaster@yourdomain.com? I think as long as the $to address doesn't fail, you'll be alright
Is your script on a yahoo.com PHP-enabled website? If not: most servers deny access to the mailer because mailers (often SMTP servers) with public access have been widely abused in the past, especially by spammers. If this is the case you need to set PHP up to use a SMTP server that is available from where your script is. If you don't know how: what sort of server is your PHP script on?

« previous php.general (#156271) next »