Mail() on windows server incorrectly configured?
Posted: Fri May 26, 2006 10:15 am
I've no knowledge of server administration really but is there any reason why mail() would not work on a windows server? Does it have to be configured differently to a Linux server?
According to the manual it does work slightly differently, but thats as much as I understand. I only ask cos my boss noticed an ancient contact form is not working somewhere, and the simplest test script with mail() doesn't send anything, but will on another server (which unfortunately is linux so its not a fair test).
Running phpinfo reveals that sendmail_path is not set in the PHP core on the windows server.
is that what's causing problems? no error comes up and mail() returns true.
According to the manual it does work slightly differently, but thats as much as I understand. I only ask cos my boss noticed an ancient contact form is not working somewhere, and the simplest test script with mail() doesn't send anything, but will on another server (which unfortunately is linux so its not a fair test).
Running phpinfo reveals that sendmail_path is not set in the PHP core on the windows server.
is that what's causing problems? no error comes up and mail() returns true.