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…

How to Research a CPU Upgrade

How to Research a CPU Upgrade

Upgrade Time! Doing a lot of VMWare Workstation virtualization to create labs for self-study and training. Finding...