MailCore / mailcore2

MailCore 2 provide a simple and asynchronous API to work with e-mail protocols IMAP, POP and SMTP. The API has been redesigned from ground up.
Other
2.6k stars 625 forks source link

RFC2231 encoded value in filename* param #822

Open foxinushka opened 10 years ago

foxinushka commented 10 years ago

I have an email with attachment with next headers:

--Apple-Mail-E0B2A308-58BF-41E7-BD31-782CFB93F03C Content-Type: image/jpeg; name="____.JPG" Content-Disposition: inline; filename*="koi8-r''%C6%CF%D4%CF.JPG"

Mailcore checks filename param, but doesn't check filename*. How can I decode value "koi8-r''%C6%CF%D4%CF.JPG"? Is there some implemented function to decode it in mailcore/libetpan?

dinhvh commented 10 years ago

mailcore2 and libetpan don't implement yet RFC 2231.