Re: Getting attachment using tiny mail



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]