Jeff,

Thanks for the pointer.

It would have been a lot easier to have a HOWTO documents that explains how to write a 
plugin for evolution.  Reading the code isn't the best way to figure out what to do 
because you have to look at all the source code just to try to find something to do 
and that can be very time consuming.

Shawn

On 5/15/2002 at 12:42 AM Jeffrey Stedfast wrote:

>Re-read the IMAP code. You'll find that it does NOT download all parts,
>it gets a BODY (very similar to a BODYSTRUCTURE) and constructs empty
>parts based on that. When the mailer requests the contents of a MIME
>part, if that part's contents are 'offline' it goes out and fetches
>them.
>
>Please see camel-data-wrapper.c:camel_data_wrapper_is_offline()
>
>Jeff
>
>On Wed, 2002-05-15 at 00:22, Shawn Walker wrote:
>> Hrmm? I don't recall seeing in the IMAP provider code to only download
>the mime parts until a user click on the icon in the message window to
>either save/view the attachment.  From what I could see is that when
>imap_get_message(), it downloads all the mime parts and return them to
>camel.
>> 
>> So, it sounds like from what your saying is that Camel can call back
>into your provider to get a specific mime part.  What callback are those?
>> 
>> On 5/15/2002 at 12:08 PM Not Zed wrote:
>> 
>> >Its upto the provider.  IMAP does this.
>> >
>> >On Wed, 2002-05-15 at 11:57, Shawn Walker wrote:
>> >> Is there a way to have the camel/evolution to call into the provider
>> >plugin to get a attachment to download from the server instead of having
>> >the provider download all the attachments in get_message() callback?
>> >> 
>> >> 
>> >> 
>> >> _______________________________________________
>> >> evolution-hackers maillist  -  [EMAIL PROTECTED]
>> >> http://lists.ximian.com/mailman/listinfo/evolution-hackers
>> 
>> 
>> 
>> 
>> _______________________________________________
>> evolution-hackers maillist  -  [EMAIL PROTECTED]
>> http://lists.ximian.com/mailman/listinfo/evolution-hackers
>>




_______________________________________________
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers

Reply via email to