How to retrieve a IMAP body with the right charset?

Posted by Erik on Stack Overflow See other posts from Stack Overflow or by Erik
Published on 2010-03-23T22:39:24Z Indexed on 2010/03/23 22:43 UTC
Read the original article Hit count: 381

Filed under:
|
|
|

Hi Guys,

I'm trying to make an "IMAP fetch" command to retrieve the message body. I need to pass/use the correct charset, otherwise the response will come with special characters.

How can I make the IMAP request/command to consider the charset I received in the BODYSTRUCTURE result??

© Stack Overflow or respective owner

Related posts about imap

Related posts about mail