simplegmail
simplegmail copied to clipboard
Fix issue #55
Hello. This is my first contribution to open source. I have addressed the issue #55 by unification of message text (plain or html) into a single 'alternative' Multipart MIME, to which text and html MIMEs could be attached. Now the plain text will not disappear when attachments exist. The structure of the whole message MIME would be:
multipart/mixed
multipart/alternative
text/plain
text/html
attachment1_type/subtype
...