sup-heliotrope / sup

A curses threads-with-tags style email client (mailing list: supmua@googlegroups.com)
http://sup-heliotrope.github.io
GNU General Public License v2.0
900 stars 97 forks source link

Add plain text attachement support. #369

Open GuillaumeSeren opened 9 years ago

GuillaumeSeren commented 9 years ago

Hello, I would like to use sup to do the eudyptula challenge (http://eudyptula-challenge.org/), but sup send my attachement as a base64 encoded, so the script send me to (http://lxr.free-electrons.com/source/Documentation/email-clients.txt), which do not nothing about sup.

Is it possible to say to sup to send it as a plain-text attachment ?

Regards, Guillaume.

GuillaumeSeren commented 9 years ago

Hi, I am trying to compare with mutt because it seems to work well with it, so I sent the same mail with the same attachment with mutt to compare, and be sure the error didn't come from my patch, but I can see that the type of the attachment is different in mutt.

So is seems that sup is not getting my attachment the same way, I will try to investigate a bit more.

Regards, Guillaume.

GuillaumeSeren commented 9 years ago

Hello, I can confirm that the same patch, with the same process (simply attach the file) is working well in mutt, so I think sup is handling file detection in a way that send patch file (at least) as application/octet-stream.

I will search in the codebase, and give some feedback.

Regards, Guillaume.