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 server

It 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

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



Reply via email to