Re: Email troubles
| From: | Manuel Lemos | Date: | Wed, 02 Jul 2003 03:42:34 +0000 |
| Subject: | Re: Email troubles | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153655@lists.php.net to get a copy of this message | ||
Hello,
On 06/30/2003 07:30 PM, Sparky Kopetzky wrote:
I'm getting this error while sending email with mail(): Warning: mail(): SMTP server response: 550 5.7.1 <123@nowhere.com>... Relaying denied in (path to my program) How do I turn relaying on??I think that means you need to authenticate. The mail() function has no authentication support. You may want to try this class that comes with a subclass for sending messages via SMTP that supports authentication. It comes also with a wrapper function named smtp_mail() that emulates the mail() function so you can use it as replacement without changing your scripts too much: http://www.phpclasses.org/mimemessage You also need this for message delivery. http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/