I have a new VPS server running Centos 6.4 64 bit. I'm sure that something is not right with maybe the php configuration because RSS and formmail scripts don't work. I have the same rss scripts and formmail.php on a shared web hosting account and they work perfectly. If there was a problem with the scripts they wouldn't work on my other hosting account. Can someone please help me out with this? What info do you require?
Ok, I've fixed my RSS feed problem. Now I need help with formmail. The emails are not being sent and I'm having trouble working out why.
I've added a test line in my formmail.php. The page is redirecting which is a confirmation that the mail was sent. If the mail was not sent I should receive the error message. if (mail($recipient, $subject, $message, "FROM: $email") ) { header("Location: sent.html"); } else { echo "email could not be sent"; }