-
AuthorPosts
-
March 27, 2017 at 5:25 pm #767578
UPDATE: Found the solution myself.
Just add this snippet to your child theme’s functions.phpfunction change_cf_from() { return " (Email address hidden if logged out) "; } add_filter('avf_form_from', 'change_cf_from', 10);
…………………………………………………………………………………………….
I have a website using enfold cloned on 2 different servers for testing purposes. One is hostgator and the other is inmotion.,
Just for your information. the hostgator copy runs faster than inmotion, but i am having more problems with the hostgator when it comes to emails.So the contact form built in on the template, is sending the emails as whatever address you type on the form. In other words, the email you receive comes FROM whatever address you type on the email field.
Big issue here, as in my case, i setup the form with a GMAIL account. So gmail treats and filters the incoming emails in 3 different ways depending on the domain it was “received from”:
1. inbox (with a warning “This message may not have been sent by:”)
2. straight to the spam folder
3. immediately discarded by gmail so it does not even reach the spam folder (@aol.com addresses as an example)Hostgator forced me to use a wordpress plug in (WP-Mail-SMTP). Before installing this plugin gmail was actually not even letting any emails to be delivered either to the inbox or spam.
inmotion seems to have things configured differently, and the emails go out and are received by gmail without the need to send them by smtp. But still having issues with marking them as spam or not being delivered again depending on the address being used.So given that it would be impossible to deal with each different scenario and email domain, the most logical solution should be to change the settings on enfold so the emails are being sent as a unique address (aka: (Email address hidden if logged out) ) instead of using whatever email was typed on the form as the original sender.
Hope this post was informative for some of you.
So that is my question… how can i change the way the form is sending the emails so the “FROM” field uses a specific email from my website instead of using the emails the customers type on the form?
This way i can setup my gmail account with a filter so whenever an email from this unique address is received, send it to my inbox, and avoid losing messages from some customers.Thank you
March 28, 2017 at 3:12 pm #768188October 20, 2017 at 8:05 pm #866833Thank you very much, you solve my issue.
-
AuthorPosts
- You must be logged in to reply to this topic.