• Resolved MBWD

    (@mbwd)


    I’ve got a site that uses CF7 on many pages and am not having a problem with it anywhere except on this page. I am simply not able to receive mail sent from this form. When sending, I am getting a green box, with or without Captcha enabled, and am not receiving any error messages. This is what I’ve tried:

    * Change recipient email to other addresses

    * Checked spam folder

    * Copy form and replace old shortcode with new shortcode

    * Copy and paste the markup code from the form, delete the form, and paste the markup back in a new form

    * Contact hosting provider to see if any error messages appeared in the log

    I’ve tried various other things on a local server but realized this was pointless because no emails would be going out. Disabling all plugins, etc. is not an option on a live site. Besides, as I said, it’s only this particular form that is giving me grief. All others appear to be working. I am able to create new contact forms on this site and send email from them that arrives just fine. So what’s the dilly-o? Any help appreciated.

    https://wordpress.org/plugins/contact-form-7/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter MBWD

    (@mbwd)

    I did check the FAQ before posting this query. The recommended solution in this case is to check the server’s logs for errors, which I indicate above that I did. It also recommends checking spam filters, which I also indicate above that I did.

    The green box and not receiving any error messages is a very clear indication that CF7 is sending the email.

    So the email is probably being seen as spam somewhere in the email process. This is usually due to email headers (in particular the From email address used) or email content.

    Important to remember there are a lot of places, other than your spam folder, where emails can be trapped as spam.

    Thread Starter MBWD

    (@mbwd)

    This makes sense, except that as I said, other forms on this site are sending emails that arrive with no problem. So if there is an issue in the email process, it’s only with this form. I can create a new form and send from it, and the email arrives without issue. I’m using the same email address to send to as I am with the problematic one.

    Literally the only difference I can think of between this form and any other form is that it’s longer.

    Thread Starter MBWD

    (@mbwd)

    buzztone: I did see where you wrote about changing the From email address to be blank and adding wordpress@mydomain.com to my list of real email addresses on my server. I tried this and it didn’t work. Again, if this was the problem, though, I would have to assume that none of the emails from any of my forms would be arriving. It’s only emails from this form that aren’t arriving.

    I did see where you wrote about changing the From email address to be blank

    Where did buzztone say that?

    Thread Starter MBWD

    (@mbwd)

    Thread Starter MBWD

    (@mbwd)

    Update: I deleted this form again, created a new form on the site, tested it out, received the email just fine. From this new form, I then deleted the default content from the Form field on the back end, replaced them with the HTML and shortcodes from the old non-functioning form, and once again it failed. Logic would dictate there is something weird about my HTML here, but (1) this form has been working fine for many months, and (2) I have pored over it line by line and even copied and saved it as an HTML file in Sublime Text 2 just to see if it threw an obvious error. Nothing.

    Intending to go through line by line and fine out if maybe one of them was somehow the point at which things broke down (although I cannot imagine how this could be, since the website looks fine and this should have nothing to do with whether I receive emails), I then deleted all but the first line of my HTML/shortcode and tested this. That line was this:

    <p>Job Title (required):<br />[text* JobTitle]</p>

    which I include here only to show you I am not doing anything fancy or outrageous. After adding this line, filling out the field, and hitting Send, once again I failed to receive the email.

    I am not getting any error messages or HTML errors and I am getting the green box. Other forms work just as they should, so it’s not a server issue.

    My next step is going to be to rewrite, rather than copy, the form line by line and test whether I receive the email after each line.

    Thread Starter MBWD

    (@mbwd)

    Just another update: rewriting each line instead of copying and pasting did nothing. I stopped receiving emails after adding one shortcode to the default content in the Form field.

    I then exported all Contact forms to an XML file and deleted the plugin, then reinstalled it and uploaded the forms again using Tools-> Import. The same form is giving me the same problem.

    Oddly, although most emails simply aren’t arriving, one email did arrive half an hour after I sent it. I was on with tech support for half an hour this morning at my hosting provider and they said that they checked PHP mail for me and found there was no problem with it. Their suggestion was to authenticate with the mail server with a user that I create.

    Thread Starter MBWD

    (@mbwd)

    I seem to have fixed this issue after a day and a half, but I can’t really explain why. What I ended up doing was deleting the page the shortcode was on and rebuilding the entire form, testing as I added each line to see if something would break it. It is now working the way it was, but I’m afraid I cannot offer any insight as to why this happened.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Form Sends Email No Prob… Email Never Arrives’ is closed to new replies.