Thought I’d explain how I am using multisite/domain mapping.
I have multisite setup under a subdomain and all sites are sub-subdomains of the main site. e.g. site1.subdomain.domainname.tdl, site2.subdomain.domainname.tdl etc.
I also use domain mapping, but checking the Raw headers of the emails that come from Contact Form 7, the “Message-id:” only shows the main site url, not the sub-subdomain site url.
e.g. Message-ID: <[email protected]>
This might be because I have “define(‘DOMAIN_CURRENT_SITE’, ‘subdomain.domainname.tdl’);” set in my wp-config file?
CF7 will show a validation error if I use [email protected] in the From field (I am using Reply-To: [your-email] in Additional Headers).
But CF7 validation likes noreply@site1.subdomain.domainname.tdl, my concern is that this will be different from the Message-ID so could still be classes as spam?
I think for me, I am looking for a way to set a default From email, perhaps in wp-config.php and then use a short_code in the From filed of each form that CF7 is happy to validate.
Hope this makes sense? Any suggestions/ideas would be great.
Regards,
David