Re: Problem with mail()

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

 



Your SMTP server is denying relay - go the IIS manager, select SMTP and the
properties and allow relay for localhost
Alan
"Gerardo Rojas" <grojas@strategicinc.com> wrote in message
F0EDCD6B96C14741A2F6B0BE6EB7D9CF6D705E@scsprdm.strategicinc.com">news:F0EDCD6B96C14741A2F6B0BE6EB7D9CF6D705E@scsprdm.strategicinc.com...
I am trying to send mail with the mail() function.  My environment is Win2K
proffessional. IIS5.0 and my email server is Outlook.  This is the error I'm
getting when i try to send mail.

i have changed the php.ini file for:

SMTP = my mail server


-------------------------
Creating socket
Successfully created socket!
Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for
grojas@strategicinc.com in
c:\inetpub\wwwroot\gerardo\software\php\sockets\mail_server.php on line 25
-------------------------
--
Gerardo S. Rojas
mailto: grojas@strategicinc.com

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux