I am using Gravity Forms 2.8.2
We have a form that sends out an email, with several fields being sent.
The notification settings gives the message as {all_fields}
I have enacted the logging and can see the message I composed:
<head>
<title>New submission from Contact Us</title>
</head>
<body>
<table width="99%" border="0" cellpadding="1" cellspacing="0" bgcolor="#EAEAEA"><tr><td>
<table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="#FFFFFF">
<tr bgcolor="#EAF2FA">
<td colspan="2">
<font style="font-family: sans-serif; font-size:12px;"><strong>First name</strong></font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20"> </td>
<td>
<font style="font-family: sans-serif; font-size:12px;">[MY FIRST NAME]</font>
</td>
</tr>
<tr bgcolor="#EAF2FA">
<td colspan="2">
<font style="font-family: sans-serif; font-size:12px;"><strong>Last name</strong></font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20"> </td>
<td>
<font style="font-family: sans-serif; font-size:12px;">[MY_LAST_NAME]</font>
</td>
</tr>
<tr bgcolor="#EAF2FA">
<td colspan="2">
<font style="font-family: sans-serif; font-size:12px;"><strong>Email</strong></font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20"> </td>
<td>
<font style="font-family: sans-serif; font-size:12px;"><a href='mailto:[SOME_EMAIL]'>[SOME_EMAIL]</a></font>
</td>
</tr>
<tr bgcolor="#EAF2FA">
<td colspan="2">
<font style="font-family: sans-serif; font-size:12px;"><strong>Phone no</strong></font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20"> </td>
<td>
<font style="font-family: sans-serif; font-size:12px;">[FICTITIOUS_PHONE_NUMBER]</font>
</td>
</tr>
<tr bgcolor="#EAF2FA">
<td colspan="2">
<font style="font-family: sans-serif; font-size:12px;"><strong>Message</strong></font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20"> </td>
<td>
<font style="font-family: sans-serif; font-size:12px;">A test via log</font>
</td>
</tr>
<tr bgcolor="#EAF2FA">
<td colspan="2">
<font style="font-family: sans-serif; font-size:12px;"><strong>Consent</strong></font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20"> </td>
<td>
<font style="font-family: sans-serif; font-size:12px;"><img src="[SOME_SOURCE]" /> I agree to the <a href="/privacy-policy/" target="_blank">privacy policy</a>.</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
When I receive the email I find the source now states:
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>New submission from Contact Us</title>
</head>
<body>
<table width="99%" border="0" cellpadding="1" cellspacing="0" bgcolor="#EAEAEA"><tr><td>
<table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="#FFFFFF">
<tr bgcolor="#EAF2FA">
<td colspan="2">
<font style="font-family: sans-serif; font-size:12px;"><strong>First name</strong></font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20"> </td>
<td>
<font style="font-family: sans-serif; font-size:12px;">[MY_FIRST_NAME]</font>
</td>
</tr>
<tr bgcolor="#EAF2FA">
<td colspan="2">
<font style="font-family: sans-serif; font-size:12px;"><strong>Last name</strong></font>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="20"> </td>
<td>
<font style="font-family: sans-serif; font-size:12px;">[MY_LAST_NAME]</font>
</td>
</tr>
<tr bgcolor="#EAF2FA">
<td colspan="2">
<font style="font-family: sans-serif; font-size:12px;"><strong>Email</strong></font>
</td>
</tr>
</html>
With the actual email content cut off just after the email heading (obviously).
I had actual data in those fields (not my square brackets stuff - that’s just for this posting).
Gravity Forms then states that all is well…
[headers] => Array
(
[From] => From: "info@abc-translations.co.uk" <info@abc-translations.co.uk>
[Content-type] => Content-type: text/html; charset=UTF-8
)
[attachments] => Array
(
)
[abort_email] =>
)
2024-01-31 14:54:49.934848 - DEBUG --> GFCommon::send_email(): Result from wp_mail(): 1
2024-01-31 14:54:49.934911 - DEBUG --> GFCommon::send_email(): WordPress successfully passed the notification email (#627be05b1edbf - Admin Notification) for entry #6 to the sending server.
2024-01-31 14:54:49.936894 - DEBUG --> GFCommon::send_notifications(): Sending notifications for entry (#6) completed in 0.481622 seconds.
2024-01-31 14:54:49.936984 - DEBUG --> GFFormDisplay::handle_confirmation(): Preparing confirmation (#627be05b1f204 - Default Confirmation).
2024-01-31 14:54:49.937117 - DEBUG --> GFFormDisplay::handle_confirmation(): Confirmation to be used => <div id='gform_confirmation_wrapper_1' class='gform_confirmation_wrapper '><div id='gform_confirmation_message_1' class='gform_confirmation_message_1 gform_confirmation_message'>Thanks for contacting us! We will get in touch with you shortly.</div></div>
2024-01-31 14:54:49.937150 - DEBUG --> GFFormDisplay::process_form(): Executing functions hooked to gform_after_submission.
2024-01-31 14:54:49.937500 - DEBUG --> GFFormDisplay::process_form(): Completed gform_after_submission.
2024-01-31 14:54:49.937546 - DEBUG --> GFFormDisplay::process_form(): Processing completed in 0.544577 seconds.
2024-01-31 14:54:49.939392 - DEBUG --> Gravity_Forms\Gravity_Forms\Duplicate_Submissions\GF_Duplicate_Submissions_Handler::is_valid_submission(): form #1. entry #6.
2024-01-31 14:54:49.942099 - DEBUG --> Gravity_Forms\Gravity_Forms\Duplicate_Submissions\GF_Duplicate_Submissions_Handler::is_valid_submission(): form #1. entry #6.
2024-01-31 14:54:49.942658 - DEBUG --> GFFormDisplay::get_form(): Preparing form (#1) confirmation completed in 0.000851 seconds.
Any ideas where to start to look?
Wordpress 6.4.2
PHP 8.1.27