Any idea why an email form would work fine on a linux server and not on windows server? The form works on both and says email sent but on the windows server the email never gets delivered....any ideas what the problem is? I suck with windows servers.
Hi, There could be 1001 different reasons, I need a bit more detail to be able to help. Please try and answer the following questions: How is the email submission done? PHP? ASP? CGI? What mail server software are you running on the Linux machine? What mail server software are you running on the Windows machine? Can you access the mail logs for the Windows machine. If so what do they show happening to the message? As a wild guess I would suggest that the mail server on the windows machine isn't configured correctly and the mail is being lost/dumped somewhere. Thanks, Gary
Its PHP and the windows machine is running PLESK. I didnt have to set anything up with mail servers to make it work on the linux. I suspect that mail servers may not be setup on the windows as godaddy is doing mail forwarding on the domain hosted there. Top setup mail on the server to i just point mx records to the ip address or is it more difficult then that?
On Windows PHP uses SMTP directly to send emails. I guess PHP's configuration does not include the correct outgoing SMTP server.
post the script normal php mail function include 4 variables $to = who it is to $subject $message $headers = Content type, from ect then mail($to,$subject,$message,$headers);