Hi, g_mime_message_get_subject() is a useful convenience method for getting the decoded/unfolded subject header. With 3.0, it’s effectively the same as g_mime_object_get_header((GMimeObject *) message, “Subject”) but in 2.x, get_header() wouldn’t
decode/unfold the values. Using get_header() is always OK to use. Hope that helps, Jeff From: gmime-devel-list <gmime-devel-list-bounces gnome org> on behalf of Kane Kim <kane isturm gmail com>
Is there difference getting subject with g_mime_message_get_subject
vs g_mime_object_get_header? What is proper way to get headers in general? |