Thanks! GMimeTextPart is a great addition btw.

On Tue, Aug 1, 2017 at 7:03 AM, Jeffrey Stedfast <[email protected]>
wrote:

> Hi Kane,
>
>
>
> Yes, that is the correct approach. You can use the GMIME_IS_TEXT_PART()
> macro to check this.
>
>
>
> The GMimeParser will always use GMimeTextPart for text/* parts.
>
>
>
> Hope that helps,
>
>
>
> Jeff
>
>
>
> *From: *gmime-devel-list <[email protected]> on behalf
> of Kane Kim <[email protected]>
> *Date: *Tuesday, August 1, 2017 at 4:25 AM
> *To: *"[email protected]" <[email protected]>
> *Subject: *Re: [gmime-devel] get GMimeTextPart for text/plain and
> text/html parts
>
>
>
> You don't often get email from [email protected]. Learn why this is
> important. <http://aka.ms/LearnAboutSenderIdentification>
>
> Feedback <http://aka.ms/SafetyTipsFeedback>
>
> Actually I've typecasted GMimePart to GMimeTextPart and it seems it
> worked, just have to check if it's actually text/plain or text/html I
> guess? Is that right approach?
>
>
>
> On Tue, Aug 1, 2017 at 1:10 AM, Kane Kim <[email protected]> wrote:
>
> Hi,
>
>
>
> Is it possible to get GMimeTextPart for parts with Content-Type text/plain
> and text/html?
>
> This will make it a lot more convenient to get text out of those.
>
>
>
> Thanks.
>
>
>
_______________________________________________
gmime-devel-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gmime-devel-list

Reply via email to