About identifying video attachment from TnyMsg
- From: Rajesh Sai T <tsairajesh gmail com>
- To: tinymail-devel-list gnome org
- Subject: About identifying video attachment from TnyMsg
- Date: Sun, 30 Aug 2009 16:32:56 +0530
Hi All,
I had a message received from Gmail account and following are observations [but for audio attachment everything works perfectly],
Observations :
1) TnyGtkHeaderModel returns that mail has no attachment. [ When the TnyHeaderflags value is read from Flags column of HeaderModel, and do ( flag & TNY_HEADER_FLAG_ATTACHMENTS) it is returning FALSE ]
2) Even after retrieving mime-parts of TnyMsg and do
tny_mime_part_is_attachment () on each mime-part is still returning FALSE for mime-part of content-type "video/mov". If I validate the mime-part based on their content-types how could I differntiate between inline-images [mails like season greetings] and normal attachments ?
Even couldnot parse for attachment using content-disposition. When I parse for "name=" on TnyPair its returning NULL.
Can someone please guide me, how to parse this TnyMsg for video attachment ?
Regards,
Rajesh.
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]