Ensuring email addresses are included in contact form submissions is crucial for effective communication and follow-up.
If you find that email addresses are missing from your contact form messages in Divi, this article will guide you through the process of resolving this issue.
The sender's E-mail address isn't included in the initial email message sent by the Contact Form, which might get you thinking that is not included at all.
Find the sender's email address in your email client
Open your Email client app
Open an Email that was sent from Divi's Contact Form module
Click on the Reply button
In the screenshot below, I'm using the Thunderbird Email client. You can see that the sender's email appears already filled in the To: field.
Note: Some web hosts have restrictions and will not display the e-mail in the "To:" field automatically when you click on the Reply button.
To fix this problem, you can include the E-mail in the Message Pattern by following the guide below:
Use the Contact Form module Message Pattern to include the sender's email address
Open the Contact Form module settings by clicking on the Gear icon
Go to the Content Tab → Email → Message Pattern
Include the Email's field ID wrapped in %% symbols
Example:
If the Contact Form module contains only the default fields:
Name
Email Address
Message
Each field can be included in the message patterns using their respective IDs. You can edit each field and check the value of the Field ID.
%%Name%% has sent you the following %%Message%% email.
You can contact %%Name%% at %%Email%%.
In the above example, each of the
%%Name%%
%%Email%%
%%Message%%
It will contain the information used to fill out the Contact Form.