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>
Date: Tuesday, August 1, 2017 at 7:11 PM
To: "gmime-devel-list gnome org" <gmime-devel-list gnome org>
Subject: [gmime-devel] g_mime_message_get_subject or g_mime_object_get_header?
You don't often get email from KANE ISTURM GMAIL COM. Learn why this is important.
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?