[gmime-devel] Porting code from gmime 2.6 to 3.0



I'm making an attempt to rewrite dbmail from using gmime 3.0 instead of 2.6.

So far I think I'm making good progress, but I can't seem to figure out how to deal the following issue.

dbmail has:
g_mime_init(GMIME_ENABLE_RFC2047_WORKAROUNDS);
I cannot find any old documentation about what that meant.

I'm assuming the 3.0 equivalent of this must be
g_mime_parser_options_set_rfc2047_compliance_mode(options, GMIME_RFC_COMPLIANCE_LOOSE) or
g_mime_parser_options_set_rfc2047_compliance_mode(options, GMIME_RFC_COMPLIANCE_STRICT)

but which one is it?

I tried to figure it out by reading the git history of gmime, but I couldn't figure it out. (And it's 00:40 here, I need to sleep)

Greetings, Casper


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]