This email address does not belong to the same domain as the site.
-
Just upgraded and got a config error
This email address does not belong to the same domain as the site.
Our site needs the different domain as we are being redirected from another site using their domain
so each site on the network has to use their personal email account How do I fix it and if there is no way please ad a switch to turn that one feature off.
-
Just like to point out, CF7 will still work, even with the validation errors!
But the whole point of the update and validating your forms is to help you follow better standards to avoid messages being wrongly marked as spam.
e.g. In most cases you are sending messages to yourself (your own domain), so not a problem. But (as an example) if you configured your form to send messages to [email protected] and a person sending you a message used [email protected] you would probably never receive the email as Yahoo would consider it as spam (because it was not sent from Yahoo’s servers). The same would happen for @hotmail, @gmail etc…
You can find more info and how to fix validation errors here:-
https://contactform7.com/configuration-errors/
https://kb.cf7skins.com/contact-form-7-configuration-validator/To solve this add this line in wp-config.php
define( ‘WPCF7_VALIDATE_CONFIGURATION’, false );
@hornetalcala that is an option, but it will disable ALL validation checks.
Really, you would be better off using a correct email address in the From filed and setup a Reply-To: in Additional Headers.
If you really want to disable all validation, then add the following to wp-config.php before the line /* That’s all, stop editing! Happy blogging. */
/** The Contact Form 7 plugin configuration check. */ define( 'WPCF7_VALIDATE_CONFIGURATION', false );
Yes, I know, but it is an option.
@davinian, you wrote:
Really, you would be better off using a correct email address in the From filed and setup a Reply-To: in Additional Headers.
Thing is, I am using a correct email address in the FROM (“[email protected]”) and have REPLY-TO setup correctly as well.
CF7 is broken if it thinks this is an incorrect setup. It doesn’t look like they provide any support or even input via the WP Forums, so who knows if they are aware of the problem or not. For now, this is the push I needed to get clients moved to Gravity Forms. YMMV.
– Scott
@scott, it sounds like something might be clashing with the CF7 plugin? Have you tried disabling other plugins to see if it works?
If you have and still get the error, could you post a screen-shot of your CF7 setup? (the Form and Mail tabs would be all I need) Or email it to me at [ redacted, support is not offered via email, Skype, IM etc. only in the forums ] and I’ll try and help.
@takayuki Miyoshi does offer support, but I guess he is very busy.
Side note: @davinian Please do not ask or recommend that users contact you directly. That is something that is expressly frowned upon in these forums and I’ve redacted your email address.
https://codex.www.ads-software.com/Forum_Welcome#The_Bad_Stuff
NOTE: I am not accusing you of anything nefarious or ill will. Honest. But please keep it here in the forums.
@jan Dembowski I am aware of the forum policies, but I did not want people to post sensitive information here – perhaps a private messaging option could be suggested? ??
I imagine a problem some users might face is situations where they’re trying to have CF7 send to a gmail address. Obviously, use a top level domain email forwarder from your your registrar and have that push messages to Gmail.
Everything seems find with my various sites for now, but for those who dot like PHP mail, look into getting an SMTP plugin to send email as SSL.
Still side noting:
@jan Dembowski I am aware of the forum policies, but I did not want people to post sensitive information here – perhaps a private messaging option could be suggested? ??
Great! That makes it easier for me. ??
Still, do not do it again please. These forums don’t have PM’ing and to be honest… I hope they never do. These are support forums, not community forums. There are many other places for that sort of dialog including but not limited to AWP on FB and
reddit.com/r/WordPress
.I followed all the advice exactly.
i added Reply-To: [your-email] to the additional headers but it still says the email is from WordPress and replies go to my email??
if you sent the from field to [your-name] <[your-email]> it gives the error ‘This email address does not belong to the same domain as the site.’ when you save the form.
If you set it as your own domain email it works but the email is from wordpress. This really sux bigtime and needs to be fixed urgently.
Try this Mail configuration :
To : [email protected] (Change ‘domainname’ with your domain)
From : [your-name] <[your-email]> (Red error still display on this field but mail sent successfully so i think error is not an issue)
Subject : Add Subject
Save this configuration and try to test.
It works 100%. ??
Note : Red error still display on ‘From’ field but mail sent successfully.
Thank you!
Ever since IPS’s got into bed with anti-virus writers, business email has gone to the dogs.
I want to know how much business world wide these sharks have blocked, had enough.Anyway I don’t blame CF7 in changing things so they actually work but this is complete mind f%^$&* for anyone not aware.
Solution I found was to change-
From: [your-name] <[email protected]>but to put this in so at least you can reply-
Additional Headers: [your-email]Even then I had to tell Apple Mail that this was not spam, but this should be mach better in future as the from address will not change and should never be found in Spam folder again.
I wish this could be turned off. There are so many situations where having a different FROM address is 100% valid, such as what I am dealing with. I can turn it off by commenting out that section in the plugin file that has that error, but thats not the most elegant solution.
@geniecommands its not ISP’s in bed with anti-virus writers. Its because 9 out of 10 email sent is spam. To combat that mail providers are getting very strict on the origin of email. E.g. if you sent a leads form with the FROM address as your gmail address and send to someone who has a yahoo email. Yahoo will notice the from email domain does not match a valid gmail server. So you need to setup the reply-to field as the actual email you want people to respond do, the from email should match the server.
In our case, and as others have mentioned, we have a huge number of sites on a multisite who have leads forms. Since the client domains can have n number of possible email providers we don’t run email off a webserver. To send leads we use an AWS smtp server with a no-reply email from our domain the server runs from. But the CF7 thinks this is invalid when its a very common and valid scenario.
@mardala, read the documentation and also information above in this forum about disabling the validation checking.
If you really want to disable all validation, then add the following to wp-config.php before the line /* That’s all, stop editing! Happy blogging. */
/** The Contact Form 7 plugin configuration check. */ define( 'WPCF7_VALIDATE_CONFIGURATION', false );
Although I would strongly advise not doing this and try and find a solution where you set the From and Reply-To correctly.
- The topic ‘This email address does not belong to the same domain as the site.’ is closed to new replies.