Re: Warning: mail(): SMTP server response: 550 Unable to relay
| From: | Manuel Lemos | Date: | Thu, 19 Jun 2003 04:26:41 +0000 |
| Subject: | Re: Warning: mail(): SMTP server response: 550 Unable to relay | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-20419@lists.php.net to get a copy of this message | ||
Hello,
On 06/18/2003 05:35 PM, Php wrote:
I'm fairly new to php and I'm trying to setup mail functionality from php on IIS 4.0. I keep getting this error. I have tried ever combination for the SMTP settings in the php.ini file, but nothing seems to work. I can send mail using CDONTS on this server, but using php I cannot <?php mail("pmerrigan@mnhospitals.org", "My Subject", "Some info") ?>That means that you need to authenticate. You may want to try this PHP Classes that comes with a sub-class for delivery with SMTP that lets you configure the SMTP authentication credentials. http://www.phpclasses.org/mimemessage You also need this class for the actual delivery: http://www.phpclasses.org/smtpclass BTW, you can used CDONTS in PHP under Windows servers using COM components. It is just not a very flexible way of composing messages. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/