• Resolved PaulSHowe

    (@paulshowe)


    I am getting the standard message fail error message on submission of any of the five implementations of the form on a client site, that being “Failed to send your message. Please try later or contact the administrator by another method.” in a red surround which I believe indicates a server hosting issue.
    I have ran a test script to check that wp_mail is working correctly and that is all fine. The hosting company say that there are no issues at their end and that the wp_mail function is working fine (which it is as noted above). I do not know what to try next. Any help would be greatly appreciated.

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

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    How have you set up Mail?

    Thread Starter PaulSHowe

    (@paulshowe)

    I have two recipients in the “To” field, separated by a ; and a space
    I have the following syntax for the from field “[first-name] [surname] <[email]>”
    The subject line is populated
    There are no additional headers or file attachments and I’m not using Mail (2)
    The Message body is:
    From: [first-name] [surname] <[email]>
    Subject: Online Enquiry

    First name: [first-name]
    Surname: [surname]
    Email: [email]
    Telephone: [ telephone]
    Brief details: [details]


    This e-mail was sent from a contact form on the xxx website

    The other odd thing about it was that when I was trying to establish the meaning of the error message, I tried to edit the messages fields. Despite saving the change, the error message generated on submission did not update to my edited version, despite clearing my cache etc. That said, that is a side issue, the important issue is the failure to send.

    Thread Starter PaulSHowe

    (@paulshowe)

    One other thing, the hosting company (and I) checked the log files and there are no entries in there at all for the failed sends so, like Oriain’s experience, the form script appears not to be talking to the server when sending at all.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    I have two recipients in the “To” field, separated by a ; and a space

    Separate them by a comma.

    I have the following syntax for the from field “[first-name] [surname] <[email]>”

    Make sure you have corresponding fields in your form.

    Thread Starter PaulSHowe

    (@paulshowe)

    Separate them by ONLY a comma or a comma and a space?

    There are corresponding field in the form.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Separate them by ONLY a comma or a comma and a space?

    Both are OK.

    Thread Starter PaulSHowe

    (@paulshowe)

    OK, I removed the ; and replaced with a ‘ and left the space off. No change though unfortunately, I’m still getting the same error message on submission.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    I mean a comma (,), not an an apostrophe (').

    Thread Starter PaulSHowe

    (@paulshowe)

    Sorry, that was a mis-type, it was a comma that I used. The syntax is now:
    email1@test.com,email2@test.com

    Thread Starter PaulSHowe

    (@paulshowe)

    Hi, this is now sorted, I discovered that I had been amending the form code for one of the five forms implemented on the site and testing from just that one page. However, our developer had in fact pasted in the wrong form id into the page I was testing so obviously my test page was never being updated when I made changes such as replacing the ; with a ,
    Anyway, that WAS in fact the error, i.e. for multiple recipients in the To field you have to separate using a comma NOT an apostrophe (as you had already noted).
    Thank you for your time helping to resolve this.

    Hi!
    Does anyone can help me with not working contact form? http://stationwarsaw.com/book/

    when i have field FROM like this: [your-name] <[your-email]>
    it doesn’t work but when i put the same mail what is in field TO, it works.
    Why “[your-name] <[your-email]>” doesn’t work?

    @poklos: If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else’s topic.

    Hello.
    The same problem with receiving emails?
    Here’s your answer on changes YAHOO, HOTMAIL, GMAIL ….

    Link : 1
    Email service providers can’t send to / from Yahoo addresses

    Gracias.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Failed to send your message.’ is closed to new replies.