Page 1 of 1

MAIL Function

Posted: Wed Oct 10, 2007 11:52 am
by jiggens
I am using windows 2003 server with iis6 i have php 5 and mysql 5 installed and i am trying to get the sendmail function to work but its not.

I'm wondering if i have something wrong in my php.ini file

Could someone take a look at it.

My drive configuration is IIS 6 SMTP server is on C Drive while my form is on the D drive, the code is working correctly its creating a message to send but my server isn't picking up on it

PHP.ini Config

mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from = me@example.com

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

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =

Posted: Wed Oct 10, 2007 3:00 pm
by jiggens
My server is in house and i have IIS with SMTP intsalled so do i need to enter the ip address of the server in my php.ini file or can i leave it localhost?

Posted: Wed Oct 10, 2007 4:51 pm
by feyd
Have some patience.