This project is read-only.


Subject field does not get decoded


If a subject needs a UTF-8 character, the subject line will look something like:
Subject: =?utf-8?B?RnLDpW52YXJvOiDDlnJlYnJvIEdvbGZrbHViYiAtIFNjb3JlY2FyZA==?=

This library pulls that string in exactly but it needs to see what character set it is encoded with and base 64 decode the value.

The easiest solution is to pull the EncodedWord class from which does a good job properly parsing this per the rfc spec.


andyedinborough wrote Oct 24, 2011 at 5:43 PM

I'll work on it.... I'll want to implement their solution, but in my own style so I'm not stealing. :]