I use "Contact-form-7" on godaddy with no problems but when I tried it on midphase, it does not send the email even though I get no errors.
At first, I just thought that it was a configuration problem on the host, but when I tried the code below, it works fine. Now I'm confused as to where to look next. I'm using WP 2.7.1 and I've tried different versions of Contact-form-7 as well as contact-form-iii.
If the code below had failed, I would have known where to look next but now I'm really stuck.
Any help would be much appreciated! Thanks in advance.
<?php
error_reporting(E_ALL);
$to = "myemail@domain.com";
$subject = "This is a test subject";
$message = "This is a test email, please ignore.";
if (mail($to,$subject,$message)) {
echo "email send ok";
} else {
echo "can't send email";
}
?>