> My guess is that the sample you tested on was broken (maybe it enclosed
> the rfc2047 encoded-word token(s) inside quotes?)
That is it! Once I removed the outside quotes, it worked. I just read
RFC2047 again and here we have
+ An 'encoded-word' MUST NOT appear within a 'quoted-string'.
Looking at the samples I download now, I can see _a lot_ of them use quotes
around RFC2047 encoded words. That includes emails from yahoo, hotmail and
a bunch of others. I can't be sure it's from users' own MUA or through some
webmail interface, though. I know gmime wants to stick with the standards
but what should be the approach if I still want to process those emails?
Thanks,
- Junping