Tagged: CONTACT FORM, email address
-
AuthorPosts
-
January 31, 2019 at 3:34 pm #1061015
Hi Kriesi
When I receive an email from the standard contact form in Enfold and reply to it, it replies to the standard email address used throughout my setup.
How can I get the reply to address to automatically be the sender’s email address (The person’s email address who submitted the query through the contact form, who filled in their email address.)
Currently, I have set up in my functions.php for email –/* enter the full email address you want displayed */ /* from http://miloguide.com/filter-hooks/wp_mail_from/ */ function xyz_filter_wp_mail_from($email){ return " (Email address hidden if logged out) "; } add_filter("wp_mail_from", "xyz_filter_wp_mail_from"); /* enter the full name you want displayed alongside the email address */ /* from http://miloguide.com/filter-hooks/wp_mail_from_name/ */ function xyz_filter_wp_mail_from_name($from_name){ return "My website name"; } add_filter("wp_mail_from_name", "xyz_filter_wp_mail_from_name");
Thank you for your time
February 5, 2019 at 1:30 pm #1063167Hey waveshaper,
Take a look here
https://github.com/KriesiMedia/enfold-library/tree/master/actions and filters/ALB Elements/Contact Formyou can check there on how to modify the Contact Form hooks.
Best regards,
BasilisMarch 2, 2019 at 3:33 pm #1073613Thank you Basilis, appreciated
March 4, 2019 at 5:37 am #1074139Hi,
Thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardJune 20, 2019 at 8:58 am #1111851I would also like the reply to address to automatically be the sender’s email address (The person’s email address who submitted the query through the contact form, who filled in their email address.)
June 21, 2019 at 7:42 pm #1112396Hi,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.