“Failed to send your message. Please try later or contact the administrator by another method.”
See Contact Form 7 Email Issues. Most people that work through this information appear to be able to resolve their email sending & receiving issues.
i currently have “[your-subject]” in the subject field
The validator is warning you that using [your-subject] as the Subject field is risky. This can cause problems if the user does not supply a value.
It’s important to realize that when a from gets submitted you are sending a regular email but you are doing it from WordPress via PHP. Just like normal emails your form email needs a valid To: From: and Subject: field.
If the user does not supply a value then you are sending a email without a Subject.
Instead use something like Subject: Site Name - [your-subject] so the Subject is not empty if form user doesn’t supply a value.
Thread Starter
Jai
(@msjaiinc)
Ok that helped me with the error message on the form settings..but still getting: Failed to send your message. Please try later or contact the administrator by another method.
Try making the subject a required field.
Thread Starter
Jai
(@msjaiinc)
i tried making the subject required but still the same error.
i have the old version on another website, i can use that in the meantime and not update it til it’s fixed.
@jai – Please add here all your input in the Form and Mail sections of the CF7 interface.
Thread Starter
Jai
(@msjaiinc)
FORM:
<p>Your Name (required)
[text* your-name] </p>
<p>Your Email (required)
[email* your-email] </p>
<p>Subject
[text* your-subject] </p>
<p>Your Message
[textarea your-message] </p>
<p>[captchac captcha-760 size:m]</p>
<p>[captchar captcha-760]</p>
<p>[submit “Send”]</p>
MAIL:
To: website@gmail.com
From: [your-name] <info@website.com>
Subject: Site Name – [your-subject]
Additional Headers: Reply-To: [your-email]
Message Body: From: [your-name] <[your-email]>
Subject: [your-subject]
Message Body:
[your-message]
—
This e-mail was sent from a contact form on Site Name (http://website.com)
Ok that helped me with the error message on the form settings..but still getting: Failed to send your message. Please try later or contact the administrator by another method.
@jai – I’d recommend you install Postman SMTP Mailer/Email Log temporarily which includes excellent email debugging.
Thread Starter
Jai
(@msjaiinc)
i tried that as well and getting an error on 4. connecting:
An unexpected error occurred {
"readyState": 4,
"responseText": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"/>\r\n<title>403 - Forbidden: Access is denied.</title>\r\n<style type=\"text/css\">\r\n<!--\r\nbody{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}\r\nfieldset{padding:0 15px 10px 15px;} \r\nh1{font-size:2.4em;margin:0;color:#FFF;}\r\nh2{font-size:1.7em;margin:0;color:#CC0000;} \r\nh3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} \r\n#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:\"trebuchet MS\", Verdana, sans-serif;color:#FFF;\r\nbackground-color:#555555;}\r\n#content{margin:0 0 0 2%;position:relative;}\r\n.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;}\r\n-->\r\n</style>\r\n</head>\r\n<body>\r\n<div id=\"header\"><h1>Server Error</h1></div>\r\n<div id=\"content\">\r\n <div class=\"content-container\"><fieldset>\r\n <h2>403 - Forbidden: Access is denied.</h2>\r\n <h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>\r\n </fieldset></div>\r\n</div>\r\n</body>\r\n</html>\r\n",
"status": 403,
"statusText": "Forbidden"
}