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("[EMAIL PROTECTED]", "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
[EMAIL PROTECTED]

zzzzz



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



Reply via email to