Home>Support>SiteOrigin Contact Form not working on desktop

SiteOrigin Contact Form not working on desktop

So, this is kind of weird but the SiteOrigin Contact Form works on my Android phone and iPhone but not on my windows PC using Firefox, Chrome or IE.

WP email test works

Cleared cache
All plugins are up to date
Disabled all non-SiteOrigin plugins

The error I get is: “Error sending email, please try again later.”

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 5 months ago Alex S
    Hi, I Work Here

    Hi Daniel,

    Do you have a public URL where I can try your contact form? Try disabling the Spam Protection settings to see if that helps. Also, would it be possible for you to send me an export for this widget? To do this open up the page with the widget and click layout in the Page Builder toolbar. Then click import/export and then click download. Please upload the export to a 3rd party file hosting site such as teknik.io.

  2. 7 years, 5 months ago daniel woodson

    Hi Alex thanks,
    My first suspect was the spam filter so I had disabled that first, forgot to mention that.
    The URL is: http://danielwoodson.com/sample-page/contact/

    Having trouble getting the layout to download. Not sure what the screen is supposed to look like but you can see my screen here:
    https://drive.google.com/file/d/0B4ncRlLFNa0oTTJ0VVE5bU1PRkU/view?usp=sharing
    I’m assuming this is the right place.

    So messing around with it I also found that my personal email works but not any other email (like my work email, gf’s email etc). I tried this with and without the spam filter active.

  3. 7 years, 5 months ago Alex S
    Hi, I Work Here

    Hi Daniel,

    That’s the correct place. What happens when you click download, do you download a json file?
    I can confirm I haven’t been able to fill out the form. although I wasn’t able to on mobile either. :/

  4. 7 years, 5 months ago daniel woodson

    Hi Alex,
    Not sure what was happening before. Essentially nothing happened but I tried again and it worked. json is availible here:
    https://github.com/d6stringer/danielwoodsondotcom

    I can confirm that I was mistaken about it working on the smartphone. Chrome was auto-filling my personal info and I just didn’t check twice. It does not work with other emails

  5. 7 years, 5 months ago daniel woodson

    OK so I did find another piece of info and it looks like the problem is not from SiteOrigin.
    I tested the WP email going to a different address and it failed with this error:

    SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: Message rejected: Email address is not verified. The following identities failed the check in region US-WEST-2: [email protected]
    SMTP code: 554″

    So it looks like a setting I have in AWS or maybe I just didn’t finish setting up the SES.

    Note, I replaced my actual email address where it says [email protected]

  6. 7 years, 5 months ago daniel woodson

    So I’m not sure about this but it appears as though the SiteOrigin contact form is making the email address field the send from field?

    I guess I thought I was making it send from the website not their email (which I would assume to be the norm).
    I think the problem is that AWS doesn’t allow you to send email from accounts that you do not own. In other words AWS thinks I’m pretending to be gmail but in reality I just need the emails to come to me with the information about what their email address is (not as if it came from them)

    Does that make sense?

  7. 7 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Daniel,

    Very sorry for the delay.

    Ah. I’m going to log this as something we need to look into. In the meantime, consider switching to Contact Form 7. Sorry mate. :(

  8. 7 years, 4 months ago daniel woodson

    Do you think you could point me to where the code is for the contact form?
    I just want to verify what I’m thinking but I don’t actually see it. From some of the errors I was getting I assume that it’s using the PHPMailer library but I don’t see the code anywhere.

  9. 7 years, 4 months ago Alex S
    Hi, I Work Here

    Hi Daniel,

    What you’re thinking is correct. We use the WordPress mail. Here’s the method and here’s the exact line.

  10. 7 years, 4 months ago daniel woodson

    Awesome thanks Alex!
    So I just removed the header from the wp_mail like this:

    $mail_success = wp_mail( $instance['settings']['to'], $email_fields['subject'], $body );

    and though it sends me broken html (just gotta find the settings) it does what I want now.

  11. 7 years, 4 months ago daniel woodson

    Fixed the broken html, the header included the content type call so I put that back and just put commented out the “from” portion of the header.

    $headers = array(
    			'Content-Type: text/html; charset=UTF-8',
    			//'From: ' . $this->sanitize_header( $email_fields['name'] ) . ' <' . sanitize_email( $email_fields['email'] ) . '>',
    		);
    $mail_success = wp_mail( $instance['settings']['to'], $email_fields['subject'], $body, $headers );
Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More