On this page
What this issue is
Most automated emails (form confirmations, autoresponders, booking receipts) are sent as multipart/alternative. That means one email holds two bodies: a text/html part with design, and a text/plain part with only words and links. The inbox picks the one it can show.
The plain-text part is missing when the email carries HTML only. It is garbled when it contains leftover HTML tags (<p>, ), merge tags that were never filled, long tracking URLs, or broken characters such as ’ instead of an apostrophe. The broken characters usually come from a mismatch between the declared character set and the real one.
Why it costs you leads or sales
A bad text part hurts in a few quiet ways. None is dramatic, but they add up on every email you send.
- Spam filters can treat an HTML-only email as less trustworthy than one with a matching text version.
- Some mail apps, smartwatch previews and notification banners use the text part for the preview line, so the lead sees code or gibberish.
- Screen readers and text-only clients rely on it.
- Leads who set their mail app to plain text see the garbled version in full, including broken links.
- A text part that says nothing useful hides the booking link or next step.
- Form submittedLead fills in the form
- Email sentHTML and text parts built
- Text partMissing or full of tags
- Lead reads itPreview or text-only view is unreadable
- Click next stepBooking or reply never happens
The lead submits the form and the email is sent, but the plain-text view is unusable, so the next step is lost for those readers.
How to check if your site has it
Send yourself a test lead
Submit your own form with an address you can open in Gmail or Outlook.
Open the raw source
In Gmail, open the email, click the three dots, then Show original. In Outlook, open the message, then File > Properties and read Internet headers, or save it as .eml and open it in a text editor.
Look for the content type
Search for
Content-Type: multipart/alternative, then forContent-Type: text/plain. If there is no text/plain section, the part is missing.Read the text section
Check that it reads like a short email. Raw tags,
{{ }}placeholders or characters like’mean it is garbled.Check the charset
The line should say
charset=UTF-8on both parts.
Content-Type: multipart/alternative; boundary="abc123"
--abc123
Content-Type: text/plain; charset=UTF-8
Hi Sam,
Thanks for your enquiry. We will reply within one working day.
Book a call: https://example.com/book
--abc123
Content-Type: text/html; charset=UTF-8
<p>Hi Sam,</p>...
--abc123--How to fix it
The fix depends on which tool sends the email. Menu names change between versions, so look for the nearest equivalent if yours differs.
Check the form plugin's email type
Many form plugins let you choose HTML or plain text for notifications and confirmations. If the plugin sends HTML only, look for a setting to add a text alternative, or use an SMTP plugin that generates one.
Test through your SMTP or email service
If you send through an SMTP plugin or an email service, send a test and re-check the source. If the text part is still missing, check whether the service has an auto-generate text option.
Open the email template
In the workflow's Send Email action or in Email Templates, open the message you send as a confirmation.
Check for a plain-text option
If your version offers a plain-text or text version setting, fill it in. Remove merge tags that may be empty and keep the main link visible as a full URL.
Send a test and view the source
Send to yourself and repeat the source check.
Build a multipart message
Set both a text body and an HTML body in your mail library, and set the charset to UTF-8. Most libraries have a method for the alternative body.
Write the text version by hand
Do not strip tags with a crude regex. Write a short, clean version with the same message and the same key link.
Not applicable
Tag Manager does not send emails. Fix this in the form, CRM or email tool that sends your confirmation.
$mail->CharSet = 'UTF-8';
$mail->isHTML(true);
$mail->Subject = 'Thanks for your enquiry';
$mail->Body = '<p>Hi Sam,</p><p>We will reply within one working day.</p>';
$mail->AltBody = "Hi Sam,\n\nWe will reply within one working day.\nBook a call: https://example.com/book";
$mail->send();Keep it short and human
Same message as the HTML version, in plain sentences.
Show links as full URLs
Write
https://example.com/bookrather than a button label with no address.Remove leftover tags and entities
No
<br>, or unfilled{{merge}}fields.Set UTF-8 on both parts
This stops apostrophes, accents and currency symbols turning into odd characters.
Broken
- No text/plain section in the source
- Or text full of <p> tags and
- Apostrophes appear as ’
- Preview line shows code
Fixed
- Both text/plain and text/html parts present
- Short readable text with full links
- UTF-8 on both parts
- Clean preview line
How to confirm it's fixed
- Send a new test lead through the live form.
- View the original source and find both text/plain and text/html parts.
- Read the text part: no tags, no unfilled merge fields, no broken characters.
- Confirm
charset=UTF-8on both parts. - Open the message in a text-only view or a phone notification and check the preview line.
- Click the full URL in the text version and confirm it works.
How to prevent it happening again
The text part often breaks when someone edits the template, switches email tool, or adds a new language. Treat the plain-text version as part of the template, not an afterthought.
- After any template edit, send a test and check the source, not just the visual preview.
- Update the text version whenever you change copy or links in the HTML version.
- Re-test after moving to a new email provider or SMTP setup.
- Use non-English test names with accents to catch encoding problems.
- Keep a short written template standard: text part, UTF-8, full URLs.
How FunnelGuard handles this
FunnelGuard detects this today. When it runs your lead form journey on its schedule, it submits a marked test lead and checks that the confirmation email arrives. As part of its email content check, it looks at the text part of that email (the text_part check) and flags it when the part is missing or looks garbled.
A failure is re-checked from a second region before one alert goes out, with a screenshot and a likely cause. FunnelGuard does not rewrite your template, so you still make the fix in your email tool. The Free plan covers 1 site and 2 journeys with daily checks and no card, and every paid plan has a 3-day free trial.
Questions people ask
What is the plain-text part of an email?
It is a text-only version of the message sent alongside the HTML design in the same email. Mail apps show whichever version they can display. It should contain the same words and links without images or styling.
Why does my confirmation email show HTML code or strange symbols?
Usually the plain-text part contains raw tags, or the character set is wrong, so apostrophes and accents turn into symbols like ’. Set UTF-8 on both parts and write a clean text version instead of stripping tags automatically.
How do I check if my email has a plain-text version?
Send yourself a test, open the original source (Show original in Gmail) and look for a Content-Type: text/plain section inside a multipart/alternative email. If only text/html appears, the text part is missing.
Does a missing plain-text version send emails to spam?
It can contribute, because spam filters tend to favour emails with matching text and HTML parts. It is rarely the only cause, so also check authentication, sender domain and content if your emails land in spam.
How do I add a plain-text version to an autoresponder?
Look for a plain-text or text version option in your form plugin, CRM or email service and fill it in, or enable auto-generate if it exists. In custom code, set both the HTML body and an alternative text body, with UTF-8.
Should the plain-text version match the HTML email?
Yes. It should carry the same message, the same offer and the same key link, written as short plain sentences. Show links as full URLs so they are usable without buttons.
Can FunnelGuard tell me if my email text part is broken?
Yes. FunnelGuard checks the text part of the confirmation email that your test lead receives and alerts you if it is missing or garbled. You then fix the template in your own email tool.
Related issues
- DLV-029Confirmation email has unfilled merge tags (Hi {{first_name}})Fix guide
- DLV-030First name merge falls back to blank ("Hi ,")Fix guide
- DLV-043Autoresponder lands in the lead's spam folderFix guide
- DLV-045Email too large, clipped by Gmail (>102 KB)Fix guide
- DLV-031Confirmation email links are broken (404)Fix guide
- DLV-041Confirmation email sent with test or staging contentFix guide