Commit Graph

5 Commits

Author SHA1 Message Date
Simon Ser fe98e9c3ac
imports: wrap inline part in multipart message
Apparently the ProtonMail API no longer accepts non-multipart messages
when importing. This fixes the error:

    [36027] Imported message is not fully encrypted
2020-12-17 14:28:19 +01:00
Simon Ser 74c2b8fa37
imports: fix io.Copy call for the message body 2020-06-11 11:04:57 +02:00
Simon Ser 346a0443db
imports: don't set empty Content-Type header field 2020-06-11 11:04:05 +02:00
Simon Ser 1edc88fd5a
imports: check protonmail.ImportResult.Err 2019-11-14 09:38:30 +01:00
Simon Ser fbf85fecaa
Add preliminary support for imports 2019-07-30 20:51:46 +03:00