Work around for uuencode attachments not displaying in Thunderbird 24.5.0

Written by James McDonald

June 16, 2014

I use a backup script to gzip and then email my webserver backups to my gmail account.

I was using the following line of code to attach the gzip / tar.bz2 files to an email.

( echo backup of $ETC; uuencode $DBDIR/$ETC $ETC ) | mail -s "Backup of $ETC $DATE" $TO

However when I viewed the resulting email in Thunderbird I see the encoded text in the body of the email instead of it being an attachment.
displayed_as_encoded_text_not_attachment

Looking for a work-a-round because I’m stuck with my version of Thunderbird I discovered I could change the way I send the backup files by changing from using the mail utility to mutt:

echo backup of $ETC | mutt -s "Backup of $ETC $DATE" -a $DBDIR/$ETC -- $TO

This changes the internal composition of the email so that Thunderbird is happy with it:
mutt_created_attachment_message_source

The way you should see your attachments in an email client:
displayed_as_attachment_ok

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

Toggen builds a new website

So I have built and hosted a new website for Roger Clark Pest Management they are a family owned and operated Pest...

WizTree

Just downloaded WizTree (not a sponsor) from https://wiztreefree.com/ It seems to do what it says on the tin which is...

Scam call from “Telstra”

Just had a call from a man with a sub-continental accent from caller ID 0734946596 Told me there was problem with my...