PDA

View Full Version : IIS SMTP Settings for PHP?


imroue
11-20-2002, 04:25 PM
Could someone guide me to set up IIS SMTP to work with PHP?

I am not sure that it is working properly with the mail().
I think my PHP code is working (I confirmed with others).
So the problem is either
1) the SMTP IIS configuration
or
2) the php.ini
--------
This is what I have in the php.ini:
[mail function]
; For Win32 only.
SMTP = 66.185.95.99 ; for Win32 only

; For Win32 only.
sendmail_from = imroue74@rogers.com ; for Win32 only

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
---------
the error i get is:

Warning: Mailserver rejected our "sendmail_from" setting in E:\Web\OurSite\guestbook\guest.php on line 583


Please let me know if u have any ideas.

Thanks,