Re: Re: send mail error
| From: | Manuel Lemos | Date: | Tue, 25 May 2004 08:09:36 +0000 |
| Subject: | Re: Re: send mail error | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186880@lists.php.net to get a copy of this message | ||
Hello,
On 05/25/2004 04:51 AM, Tassos T wrote:
i try this it seems to work but i reseve error message like that : SMTP server response: 553 sorry, relaying denied from your location i heve windows serverIt seems to need to authenticate. The mail() function does not support authentication. You may want to use this class that comes with a wrapper function named smtp_mail() that emulates the mail() function and lets you specify the user name and password in the smtp_mail.php script, so you only have to include that script and rename the mail() calls to smtp_mail() to solve your problem. http://www.phpclasses.org/mimemessage You also need this: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html