Forum Moderators: coopster

Message Too Old, No Replies

Sending Mail using PHP on Windows

trying to use the SMTP mailer bundled w/ IIS

         

sohail

11:33 pm on Mar 22, 2004 (gmt 0)



Hey All, I'm porting a *NIX PHP site over to Windows. In my code, I'm using "/usr/bin/sendmail" for the mailer. I was wondering what I should be using on the Windows side? I was going to try putting the full path of the virtual SMTP server, but i can't find it.

Thanks in advance

jackson

3:22 am on Mar 23, 2004 (gmt 0)

10+ Year Member



As a suggestion, put the following code into your php.ini file

[mail function]
; For Win32 only.
SMTP = as in your ISP's smtp address

; For Win32 only.
sendmail_from = as in a regular contact e-mail address

HTH

coopster

7:45 pm on Mar 23, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Related thread:
PHP4: Configuring one's system to use the mail() function [webmasterworld.com]