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,
php.ini? or SMTP server? I can't use the mail() function
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
-
Pakcik_Kantin
- Forum Newbie
- Posts: 19
- Joined: Mon Jan 13, 2003 8:23 pm
- Location: Kuala Lumpur
Please check the error
If it says can't connect to SMTP means that your SMTP wuold use other ports than 25.
Or your SMTP doesn't accept external address, or maliciuos address. Try to install Lotus Mail,or Squirrel Mail
Or your SMTP doesn't accept external address, or maliciuos address. Try to install Lotus Mail,or Squirrel Mail