GET Content-Transfer-Encoding and Charset from imap mail

Hi everybody.
I’m PHP beginner and now desperate in php mail functions.

What I have is php script which parse last imap message and converts its body to rss feed (xml file). This works perfect until mail message with czech charset is received. Each e-mail client sends messages with different Content-Transfer-Encoding and Charset and I don’t found any function which is able to read body charset or transfer encoding so I’m unable to convert it correctly if I don’t have this informations.

If you could me help with this I will be gratefull.

DM

Sponsor our Newsletter | Privacy Policy | Terms of Service