Skip to main content
Question

How to Configure FME Emailer for Plain Text Email?


taniavicente1
Contributor
Forum|alt.badge.img+6

I have a process in FME and I want to send an email with the Emailer transformer at the end. I've already written in the email body the data I want to appear in the email, but the problem is that I want to send it in plain text format and not in HTML. The Emailer transformer always wraps my text in HTML, even though I already changed it to FME's format; it seems that every time I exit the transformer to run the process, it doesn't save the text settings in the transformer. Does anyone know how to change this?

5 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+36

oh weird which version of FME are you using.

Are you seeing the result only in the sent email but it looks of in the transformer or are you rather seeing the html in the transformer itself?

Do you perhaps have a screen shot or something you can share with an example of what you’re seeing?


alexbiz
Enthusiast
Forum|alt.badge.img+12
  • Enthusiast
  • June 9, 2025

Hey there,

Based on my testing (and what the docs say), the Emailer transformer always pushes the body out as HTML. I tried forcing the header to text/plain, but FME still wraps everything in minimal HTML tags when the mail actually lands.

In FME Flow Automations there is a dropdown where you can pick “Plain Text” or “HTML,” but that option isn’t exposed in the workspace-level Emailer transformer. If plain-text support is a must, you’ll probably need to log a feature request with Safe Software so they can add the same “Email Format” parameter to the transformer.

Short-term work-arounds:

  1. Let Flow Automation handle the email (if you have Flow).

  2. Use a PythonCaller (or external script) to hit your SMTP server directly and send a plain-text message.

Hope that helps!

 


virtualcitymatt
Celebrity
Forum|alt.badge.img+36
alexbiz wrote:

Hey there,

Based on my testing (and what the docs say), the Emailer transformer always pushes the body out as HTML.

 

Oh, I’m not seeing this in the doc - The first line of the help says:
 

Both HTML and Plain Text emails may be sent, each with one or more attachments.


But if that’s what you’ve seen in your testing then that’s a bit confusing. 


taniavicente1
Contributor
Forum|alt.badge.img+6

I am using version 2024.2.4.0 of FME. The process is created in FME Workbench and then published as an App in FME Flow. 

I have already tried editing the settings in the emailer, but it always ends up sending in HTML, and supposedly, online documents say that it is possible to create emails in plain text.

 


alexbiz
Enthusiast
Forum|alt.badge.img+12
  • Enthusiast
  • June 16, 2025

The “Syntax Highlighting” option you’re referring to is just for display purposes in the text editor. It helps with coloring the content while editing, but it doesn’t actually affect how the email is sent.

The main issue here is that the Emailer transformer doesn’t expose any setting for the content type, so you can’t really choose between plain text and HTML. As a result, it always ends up sending the email in HTML format, even if you write plain text in the body.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings