Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Plain-text email part missing or garbled: how to find and fix it

DLV-044Low impactDetectedBy FunnelGuardPublished Updated
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>, &nbsp;), 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.

Where a bad plain-text part shows up
  • 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.
Where the message degrades
  1. Form submittedLead fills in the form
  2. Email sentHTML and text parts built
  3. Text partMissing or full of tags
  4. Lead reads itPreview or text-only view is unreadable
  5. 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

Inspect the text part of a real confirmation email
  1. Send yourself a test lead

    Submit your own form with an address you can open in Gmail or Outlook.

  2. 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.

  3. Look for the content type

    Search for Content-Type: multipart/alternative, then for Content-Type: text/plain. If there is no text/plain section, the part is missing.

  4. Read the text section

    Check that it reads like a short email. Raw tags, {{ }} placeholders or characters like ’ mean it is garbled.

  5. Check the charset

    The line should say charset=UTF-8 on both parts.

What a healthy email source looks like (shortened)text
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.

Add or repair the plain-text part
  1. 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.

  2. 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.

PHPMailer example: HTML plus plain-text part in UTF-8php
$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();
General rules for a good text part
  1. Keep it short and human

    Same message as the HTML version, in plain sentences.

  2. Show links as full URLs

    Write https://example.com/book rather than a button label with no address.

  3. Remove leftover tags and entities

    No <br>, &nbsp; or unfilled {{merge}} fields.

  4. Set UTF-8 on both parts

    This stops apostrophes, accents and currency symbols turning into odd characters.

Text part before and after

Broken

  • No text/plain section in the source
  • Or text full of <p> tags and &nbsp;
  • 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

Confirmation checks
  • 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-8 on 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.

Habits that keep it clean
  • 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.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: email_content text_part.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.