We just switched over to a new dedicated server with GoDaddy. FTPed all my files over from the GoDaddy Shared Hosting acct to the new Dedicated Server. The email forms that use the mail() function do not work on this server. It is a fresh/new configuration, and unlike the shared hosting acct, this server was NOT setup and ready to go. In the PLESK interface, I fond that this LINUX server uses (QMAIL) for SMTP and the service is running. However my test forms are not arriving, even though on submit, they do take you to the Thank You page with NO ERRORS. Is there some kind of switch I need to turn on, or some setting I need to tweak???
Below is the code of the test email form:
Here are the logs from /var/log/messages:
Nov 5 14:13:49 hostname xinetd: START: smtp pid=23712 from=xx.xx.xx.xx (<------ Our IP addr)
Nov 5 14:13:49 hostname xinetd: EXIT: smtp status=0 pid=23712 duration=0(sec)
<?php mail("email@example.com", "test message from godaddy", "this is a test message, if you are reading this the email was sent successfully."); ?>