Re: PLEASE HELP ON MAIL FUNCTION

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On 11/01/2004 03:58 AM, Kunal Aggarwal wrote:
I am using PHP 4.3.4 version.
Please tell how to unpload a mail function.
Error comes on executing mail function is


"mail(): SMTP server response: 550 5.7.1 Unable to relay for softengg@xxxxxxxxx in C:\Program Files\Apache Group\Apache2\htdocs\testprodigious\MAIL\mail_enquiry.php on line 30
"

This means that your SMTP server is requiring authentication to relay messages.


The mail function does not support authentication. You may want to try this class that comes with wrapper function named smtp_mail(). It emulates the mail() function except that it lets you relay messages on a server authenticating with a user name and password that you can provide:

http://www.phpclasses.org/mimemessage

You also need these two classes:

http://www.phpclasses.org/smtpclass

http://www.phpclasses.org/sasl




--

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux