Re: PLEASE HELP ON MAIL FUNCTION

From: Date: Mon, 01 Nov 2004 07:59:22 +0000
Subject: Re: PLEASE HELP ON MAIL FUNCTION
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-200817@lists.php.net to get a copy of this message
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@iclcl.com 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

« previous php.general (#200817) next »