Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Why does setting a mail filter to autorespond with template add a bunch of plaintext header garbage to the body of my emails?

  • 7 cavab
  • 1 has this problem
  • 1 view
  • Last reply by sfhowes

more options

NOTE: This is with Thunderbird 60 on Windows

Our department receives artwork submissions to a single address, and we need to autorespond to messages. I set up a message filter to autorespond to messages with a template. All our clients have a single X-SMTPAPI header added in for our mailserver. However, when the mail server receives the message, there is all this added plaintext header garbage added to the top of the body of EVERY email (some sensitive info REDACTED):


From - Wed Aug 08 09:11:36 2018 X-Mozilla-Status: 0001 X-Mozilla-Status2: 01000000 X-Mozilla-Keys: FCC: mailbox://REDACTED@REDACTED/Sent X-Identity-Key: id3 X-Account-Key: account5 From: Bench Craft Art Department Subject: Email received X-Smtpapi: {REDACTED CODE} Message-ID: <5e414994-fa7d-143d-4b52-fc633252a36e@REDACTED.com> Date: Wed, 8 Aug 2018 09:11:36 -0700 X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0; attachmentreminder=0; deliveryformat=4 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/html; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit


Sending a normal email from that account shows up normally. Sending an email with the template manually shows up normally. This ONLY happens when autoresponding with a template using the Message Filters.

I've tried creating a new profile and starting from scratch. I tried setting up a new email account with different address. I've tried setting up a new identity. I've tried setting a different default Templates folder location. Why is this happening? How can I fix it? This is completely baffling me.

NOTE: This is with Thunderbird 60 on Windows Our department receives artwork submissions to a single address, and we need to autorespond to messages. I set up a message filter to autorespond to messages with a template. All our clients have a single X-SMTPAPI header added in for our mailserver. However, when the mail server receives the message, there is all this added plaintext header garbage added to the top of the body of EVERY email (some sensitive info REDACTED): ----- From - Wed Aug 08 09:11:36 2018 X-Mozilla-Status: 0001 X-Mozilla-Status2: 01000000 X-Mozilla-Keys: FCC: mailbox://REDACTED@REDACTED/Sent X-Identity-Key: id3 X-Account-Key: account5 From: Bench Craft Art Department Subject: Email received X-Smtpapi: {REDACTED CODE} Message-ID: <5e414994-fa7d-143d-4b52-fc633252a36e@REDACTED.com> Date: Wed, 8 Aug 2018 09:11:36 -0700 X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0; attachmentreminder=0; deliveryformat=4 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/html; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit ----- Sending a normal email from that account shows up normally. Sending an email with the template manually shows up normally. This ONLY happens when autoresponding with a template using the Message Filters. I've tried creating a new profile and starting from scratch. I tried setting up a new email account with different address. I've tried setting up a new identity. I've tried setting a different default Templates folder location. Why is this happening? How can I fix it? This is completely baffling me.

Modified by drpfenderson

All Replies (7)

more options

Go to the View menu and make sure Headers is set to Normal and not All.

more options

@Airmail - After testing your suggestion, this does not solve that problem, and that option was already selected. These appear in the body of the email regardless of what client you use. Viewing the source of the message shows that the text is firmly within the <body> of the message, and not my client showing the headers. And this happens with different SMTP servers as well, so I'm fairly certain it is specific to my copy of Thunderbird.

We recently updated from a much older version, v10, of Thunderbird, and I wonder how much this has to do with that? At the same time, I have no idea what would insert headers into my email like that just by virtue of an autoresponse template. As mentioned, sending mail works fine in all other cases, including manually opening up the exact same template and filling in the sender details. It is ONLY when responding using the Message Filter system. However, as this machine receives hundreds of email submissions a day, it is not feasible to manually respond to each one with a form in non-automated fashion.

Modified by drpfenderson

more options

drpfenderson said

@Airmail - After testing your suggestion, this does not solve that problem, and that option was already selected. These appear in the body of the email regardless of what client you use. Viewing the source of the message shows that the text is firmly within the <body> of the message, and not my client showing the headers. And this happens with different SMTP servers as well, so I'm fairly certain it is specific to my copy of Thunderbird. We recently updated from a much older version, v10, of Thunderbird, and I wonder how much this has to do with that? At the same time, I have no idea what would insert headers into my email like that just by virtue of an autoresponse template. As mentioned, sending mail works fine in all other cases, including manually opening up the exact same template and filling in the sender details. It is ONLY when responding using the Message Filter system. However, as this machine receives hundreds of email submissions a day, it is not feasible to manually respond to each one with a form in non-automated fashion.
more options

Every message I send with the current version of Thunderbird contains a large block of digital garbage. I would send an attachment, but you don't accept *.eml files! How can I get rid of the garbage in your template (I did not make one of my own)? Please answer in plain language.

more options

nsivin said

Every message I send with the current version of Thunderbird contains a large block of digital garbage. I would send an attachment, but you don't accept *.eml files! How can I get rid of the garbage in your template (I did not make one of my own)? Please answer in plain language.

Do you have a signature defined for the account that is appearing garbled when you compose messages?

To drpfenderson: As for the garbled template, does it contain attachments? Is this bug relevant? The SmartTemplate4 add-on is supposed to avoid this when replying with a template manually. Not sure how this can be extended to filter actions.

more options

I only have one account. I do not automatically add a signature to messages. I made a template in which the message is blank, but since I have not found anyk way to make it the default for replies, it doesn't sove the problem. I tried installing the SmartTemplate4 add-on. It is out of date, and the updated version can't be installed. When I try, I get a "appears to be corrupt" error message.

more options

SmartTemplate4 is compatible with TB 45-60 (60 is the current release). It appears you clicked on the Download link and it tried to install in Firefox:

https://support.mozilla.org/en-US/kb/installing-addon-thunderbird