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.
Mail() on windows server incorrectly configured?
Moderator: General Moderators
- Skittlewidth
- Forum Contributor
- Posts: 389
- Joined: Wed Nov 06, 2002 9:18 am
- Location: Kent, UK
- Skittlewidth
- Forum Contributor
- Posts: 389
- Joined: Wed Nov 06, 2002 9:18 am
- Location: Kent, UK
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia