Re: Warning: mail(): SMTP server response: 550 Unable to relay
| From: | Leo G. Divingracia III | Date: | Thu, 03 Jul 2003 04:13:14 +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-20662@lists.php.net to get a copy of this message | ||
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") ?> chances are that your smtp needs to authenticate the sender. you notice that the mail() function does not have a username and password parameters.you will need use an smtp class that can authenticate. and you'll be fine. try one of these: http://www.phpclasses.org/search.html?words=smtp&go_search=1 -- Leo G. Divinagracia III ldivinag@csuhayward.edu zzzzz