Re: Getting attachment using tiny mail
- From: Sergio Villar Senin <svillar igalia com>
- To: tinymail-devel-list gnome org
- Subject: Re: Getting attachment using tiny mail
- Date: Mon, 19 Jul 2010 18:39:11 +0200
En 19/07/10 07:12, vijay singh escribiu:
> Hello,
> I want to know how to get attachment using tiny mail api.
>
> I have complete message (MimeMessage) & i want to extract attachemnt out
> of that message.
>
> Please let me know API flow to get attachment from message.
An attachment is just another TnyMimePart inside the TnyMimePart that
represents a message. You just need to iterate over the children and
guess if the mime part is an attachment or not (typically checking the
mime type and things like that)
BR
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]