php.ini? or SMTP server? I can't use the mail() function
Posted: Wed Nov 20, 2002 7:56 am
IIS SMTP Settings for PHP?
Could someone guide me to set up IIS SMTP to work with PHP?
I am not able to send mail 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 = "localhost" ; for Win32 only
; For Win32 only.
sendmail_from = me@localhost.com ; for Win32 only
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
---------
Please let me know if u have any ideas.
Thanks,
Could someone guide me to set up IIS SMTP to work with PHP?
I am not able to send mail 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 = "localhost" ; for Win32 only
; For Win32 only.
sendmail_from = me@localhost.com ; for Win32 only
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
---------
Please let me know if u have any ideas.
Thanks,