-
AuthorPosts
-
October 28, 2016 at 10:02 am #705216
Where can I find the file that controls the output of emails sent from Contact Forms?
I want to add some extra info to the emails and add line breaks to make the email easy to read.
Example of existing output :-
First Name: Sean
Family Name: xxxx
E-Mail: (Email address hidden if logged out)
Confirm Email: (Email address hidden if logged out)
What date will you arrive in Bangkok/Thailand?: 17 / 11 / 2016
What date will you leave Bangkok/Thailand?: 30 / 11 / 2016
Have you booked a clinic? If so which one?: Not yet
Do you need recommendations on clinics/hospitals: Possibly
Which procedure have you booked and how many days do you expect to be in the hospital/clinic?: Lasik. 1 day
How many days would you like to book one of our MED-Friends?: 1
And for how many hours per day?: 2How I’d like to have it formatted :-
First Name: Sean
Family Name: xxxxE-Mail: (Email address hidden if logged out)
Confirm Email: (Email address hidden if logged out)What date will you arrive in Bangkok/Thailand?: 17 / 11 / 2016
What date will you leave Bangkok/Thailand?: 30 / 11 / 2016
Have you booked a clinic? If so which one?: Not yet
Do you need recommendations on clinics/hospitals: Possibly
Which procedure have you booked and how many days do you expect to be in the hospital/clinic?: Lasik. 1 day
How many days would you like to book one of our MED-Friends?: 1
And for how many hours per day?: 2
Thanks!
November 1, 2016 at 1:39 pm #706703Hey seanchk,
The default contact form doesn’t natively support editing the outputted form information without custom code.
You can however try using Contact Form 7 as an alternative.
Best regards,
AndyNovember 2, 2016 at 6:38 am #706962Thanks Andy.
Contact form 7 is a complete pile of <deleted>
Can you tell me which file within the Enfold theme is creating the output for the emails?
Thanks
Sean
November 4, 2016 at 1:35 pm #708170Hi,
this is about default WordPress behavior and not about Enfold’s functions. Maybe this helps you: https://developer.wordpress.org/reference/functions/wp_mail/
However, we recommend to work with a plugin like Contact Form 7, if you want to have more control over this WordPress function.
Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.