Hi,
I am using PHPMailer to send email by the form contact. The emails were correctly sent but the message field arrives empty.
Could you please help to fix this issue?
Regards,
Luiz
8 replies · opened Mar 25, 2022
Hi,
I am using PHPMailer to send email by the form contact. The emails were correctly sent but the message field arrives empty.
Could you please help to fix this issue?
Regards,
Luiz
Hello,
Please remove the Codes from your HTML File as mentioned in the Image attached to this reply. The Codes you have added is overriding the Default User Input. Simply deleting these codes will fix the issue.
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Hi,
Thanks for reply me.
I have added this codes because it wasn't work with the default code.
After you message I deleted all of them (except `` and now I received the field template-contactform-subject, but still not receiving the fields template-contactform-name, template-contactform-email, template-contactform-phone and template-contactform-message.
Any other idea?
Thank you so much!
This is the last email (source code) received:
Return-Path: <site@anoxiapro.com>
Delivered-To: info@anoxiapro.com
Received: from srv05.lacahost.com.br
by srv05.lacahost.com.br with LMTP
id mC/NLoHNPWJTFQAA9ep32w
(envelope-from <site@anoxiapro.com>)
for <info@anoxiapro.com>; Fri, 25 Mar 2022 11:11:13 -0300
Return-path: <site@anoxiapro.com>
Envelope-to: info@anoxiapro.com
Delivery-date: Fri, 25 Mar 2022 11:11:13 -0300
Received: from [162.214.155.127] (port=47900 helo=anoxiapro.com)
by srv05.lacahost.com.br with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
(Exim 4.94.2)
(envelope-from <site@anoxiapro.com>)
id 1nXken-0001V0-Md
for info@anoxiapro.com; Fri, 25 Mar 2022 11:11:13 -0300
Date: Fri, 25 Mar 2022 14:11:13 +0000
To: Info AnoxiaPro <info@anoxiapro.com>
From: AnoxiaPro <site@anoxiapro.com>
Subject: teste 25/03/2022
Message-ID: <H23ChALVfbMVZvlezmSgcgTB945FvFuK6nlj7NAce0@anoxiapro.com>
X-Mailer: PHPMailer 6.5.4 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_H23ChALVfbMVZvlezmSgcgTB945FvFuK6nlj7NAce0"
Content-Transfer-Encoding: 8bit
This is a multi-part message in MIME format.
--b1_H23ChALVfbMVZvlezmSgcgTB945FvFuK6nlj7NAce0
Content-Type: text/plain; charset=us-ascii
Form Response
--b1_H23ChALVfbMVZvlezmSgcgTB945FvFuK6nlj7NAce0
Content-Type: text/html; charset=us-ascii
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" bgcolor="#eeeeee" style="width: 100%; height: 100%; padding: 50px 0 50px 0;">
<tr>
<td align="center" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="84%" bgcolor="#ffffff" style="width: 84%;">
<tr>
<td align="center" valign="top">
<!-- / Header -->
<table border="0" cellpadding="0" cellspacing="0" width="84%" style="width: 84%;">
<tr>
<td style="padding: 30px 0 30px 0; border-bottom: solid 1px #eeeeee; font-size: 30px; font-weight: bold; text-decoration: none; color: #000000;" align="left">
Form Response
</td>
</tr>
</table>
<!-- / Sub-Header -->
<table border="0" cellpadding="0" cellspacing="0" width="84%" style="width: 84%; padding: 60px 0 30px 0;"">
<tr>
<td style="font-size: 16px; line-height: 24px; font-weight: bold; padding: 0 0 5px 0;" align="left">Name</td>
</tr><tr>
<td style="font-size: 16px; line-height: 24px; color: #777777; padding: 0 15px 30px 0;" align="left">Luiz Augusto Correia de Araujo</td>
</tr><tr>
<td style="font-size: 16px; line-height: 24px; font-weight: bold; padding: 0 0 5px 0;" align="left">Email</td>
</tr><tr>
<td style="font-size: 16px; line-height: 24px; color: #777777; padding: 0 15px 30px 0;" align="left">lacabrasil@gmail.com</td>
</tr><tr>
<td style="font-size: 16px; line-height: 24px; font-weight: bold; padding: 0 0 5px 0;" align="left">Phone</td>
</tr><tr>
<td style="font-size: 16px; line-height: 24px; color: #777777; padding: 0 15px 30px 0;" align="left">+5521986124042</td>
</tr><tr>
<td style="font-size: 16px; line-height: 24px; font-weight: bold; padding: 0 0 5px 0;" align="left">Message</td>
</tr><tr>
<td style="font-size: 16px; line-height: 24px; color: #777777; padding: 0 15px 30px 0;" align="left">Testando pelo site</td>
</tr>
</table>
<!-- / Footer -->
<table border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
<tr>
<td align="center">
<table border="0" cellpadding="0" cellspacing="0" width="84%" align="center" style="border-top: 1px solid #eeeeee; width: 84%;">
<tr>
<td style="color: #d5d5d5; text-align: center; font-size: 12px; padding: 30px 0 30px 0; line-height: 22px;">This Form was submitted from: https://anoxiapro.com/</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>--b1_H23ChALVfbMVZvlezmSgcgTB945FvFuK6nlj7NAce0--
Maybe this help to find the issue.
Hi!
Trying to understand the problem... I'm checking the customer's email via Horde Webmail, it looks like the form fields were sent in two separate parts. See the attached file, there are two files: Text 1KB and Text 3KB. This second one has the html code with all the fields, but it is "hidden" on the message.
[]s
Hi,
Please, forget about this issue.
I changed the email (info@anoxiapro.com) to my personal email (lacabrasil@gmail.com) on Gmail and everything is fine.
I think it is a Horde's Webmail setting.
Sorry to disturb you.
Regards,
Luiz
Hello,
The Horde Mail Client appears to be splitting the Form Content as it is sent as an HTML Email. Consider checking your Emails on Gmail or consider using the Text Template for Form Response. You can add the following code with your `` Codes:
[ch_pre][/ch_pre]
This should definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
You are the guys!
Even though I have already solved the problem, you guys offer other alternatives.
This is what I call differentiated service.
Thank you very much!
Hello,
Thanks so much for the Kind Words! :)
We are very happy to help! :)
Please do let us know if we can help you with anything else or if you find any further issues with Canvas.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard