• 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";
    }
    ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • nickn

    (@nickn)

    If you’re still having problems with this, drop me an email at nick@midphase.com, I’d be glad to assist 🙂

    Thread Starter djpushplay

    (@djpushplay)

    Thanks Nick. I’ll email you right now.

    Thread Starter djpushplay

    (@djpushplay)

    I was never able to fix this problem directly. However, I figured out a workaround. For some reason, maybe because my email domain is on gmail, it doesn’t work directly. However, I created an email address using a regular email server, then forwarded that e-address over to the gmail one and everything worked fine.

    I have to assume that for some reason, the gmail address is not compatible to the setup on midphase. The reason I say this is because I have the exact same setup (WordPress/gmail) on godaddy and it works fine. I’m sure it’s just some setting somewhere.

    The work-around is a little messy but it works.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Contact Form fails on Midphase hosting’ is closed to new replies.