How to change Content-Transfer-Encoding for email attachments?

14

5

I have signed up for http://eudyptula-challenge.org/ challenge and this accepts email attachments only in simple text format. The files without extension (and also .zip file) are transferred with base64 encoding. I want to send email attachment in simple text. This is how my makefile is transferred :-

Content-Type: text/plain; charset=UTF-8;
 name="Makefile"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="Makefile"

b2JqLW0gKz0gaGVsbG8yLm8KCmFsbDoKCW1ha2UgLUMgL2xpYi9tb2R1bGVzLyQoc2hlbGwg
dW5hbWUgLXIpL2J1aWxkIE09JChQV0QpIG1vZHVsZXMKCmNsZWFuOgoJbWFrZSAtQyAvbGli
L21vZHVsZXMvJChzaGVsbCB1bmFtZSAtcikvYnVpbGQgTT0kKFBXRCkgY2xlYW4KCg==

How to configure Thunderbird to send a attachment files in as simple text?? Or I should any other email server or tool to send email attachments in simple text??

Vinod Kumar

Posted 2014-06-08T21:01:58.113

Reputation: 243

It’s because the file is UTF-8-encoded text. E-Mails support only 7-bit ASCII as per specifications. Everything else has to be encoded somehow. – Daniel B – 2014-06-08T21:08:43.590

Answers

10

in thunder bird Edit-> preference -> Display -> font -> advanced -> out going mail set it from UTF-8 to Western iso 8859-1

Amr Awad

Posted 2014-06-08T21:01:58.113

Reputation: 116

1And to think we put up with unreadable email formatting still because back in the '80s when the MIME standard was cooked up, there were still systems that couldn't handle 8 bit text. Will we ever leave that behind? – mc0e – 2014-11-25T14:27:19.413

Doesn't seem like it will help with attachments. – Tobu – 2014-12-28T15:29:03.343

2@Tobu Oddly enough, it works. – Cloud – 2015-03-17T16:31:35.003

1This works !! I'm amazed :D – b-ak – 2016-04-02T20:19:09.197

Weird, but it does work. – sitilge – 2017-09-18T19:09:57.363

Once in a year, I bump into this issue and your answer helps me. Thanks again – Cengiz Can – 2018-04-25T22:39:24.233