Re: [gmime-devel] g_mime_message_get_subject or g_mime_object_get_header?



Thanks!

On Wed, Aug 2, 2017 at 7:20 AM, Jeffrey Stedfast <jestedfa microsoft com> wrote:

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.

Feedback

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?

 




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