jiggens Posted October 10, 2007 Share Posted October 10, 2007 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 = Quote Link to comment https://forums.phpfreaks.com/topic/72660-solved-mail-function/ Share on other sites More sharing options...
trq Posted October 10, 2007 Share Posted October 10, 2007 Do you have a mail server installed? Quote Link to comment https://forums.phpfreaks.com/topic/72660-solved-mail-function/#findComment-366362 Share on other sites More sharing options...
jiggens Posted October 10, 2007 Author Share Posted October 10, 2007 I have IIS 6.0 with the SMTP service running. I have tested SMTP through telnet and it works fine, it will e-mail inside the domain and outside the domain. Quote Link to comment https://forums.phpfreaks.com/topic/72660-solved-mail-function/#findComment-366395 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.