Viewing 15 replies - 1 through 15 (of 40 total)
  • I have same problem after updating WP to 4.6. I’am using Contact Form 4.5. I tested sending email on my server with a clear php and it works.

    Same problem here on all my sites. Sending error started after 4.6 update.

    Looks like a problem with wp_mail() function in 4.6 that is affecting CF7

    https://wordpress.stackexchange.com/questions/236193/wp-mail-doesnt-work-after-update-to-4-6

    My contact form also worked fine all the time and now after the update I tested it and “There was an error trying to send your message. Please try again later.”

    Back end it shows “one configuration error” in the
    [your-subject] line. But that one has been correct all the time?

    Edit:
    Just now mails came through again. Did you guys fix it?

    I have rolled back my test site to 4.5.3 and CF7 works correctly. I won’t risk rolling back my live sites, so all I can do is wait for an updated version of CF7 to work with 4.6.

    In the meantime, I have added a html mailto instruction to allow contact by email on my contact pages. Not a good solution, but a workaround for only a few days, hopefully!

    Me too! I added a “if the form doesn’t work pls mail directly to:”

    Hope this get fixed and checked soon ??

    Did you add you mail note in html to hide your email address?

    Here’s the code if you need it:

    <b>We are experiencing a technical problem with our contact form. Please send your message by email Thank you, and we apologise for the inconvenience.</b>

    Sorry, I forgot to put backticks.

    <b>We are experiencing a technical problem with our contact form. <a href="mailto:[email protected]">Please send your message by email</a> Thank you, and we apologise for the inconvenience.</b>

    Thanks so much!
    I changed it now! ??

    Marco

    (@marcoherzog)

    Quick and dirty: I changed the wp_mail() function to mail() and removed $attachments. This is working for my setup with contact-form-7 4.5 and wordpress 4.6. Obviously without attachments.

    see /wp-content/plugins/contact-form-7/includes/mail.php (Line 85)

    old:
    return wp_mail( $recipient, $subject, $body, $headers, $attachments );

    new:
    return mail( $recipient, $subject, $body, $headers );

    I installed Postman SMTP Mailer and CF7 now works with WP 4.6. Quick and easy.

    I have tried different suggestions such as ensuring the “From line is correct” and adding the Postman SMTP plugin and still doesn’t work. I still get the message “There was an error trying to send your message. Please try again later”. Is there anything else I could do?

    I’ve replaced wp_mail with mail and it works for me. Thanks to Marco!

    sorry I am so new at this, where would I made the necessary changes? Is it CF7? Looked through and can’t find where I could make the changes.

Viewing 15 replies - 1 through 15 (of 40 total)
  • The topic ‘There was an error trying to send your message. Please try again later.’ is closed to new replies.