Re: [Evolution-hackers] CamelMimeMessage from known UID -- easiest way?
- From: parthasarathi susarla <ajaysusarla gmail com>
- To: Saurabh Nanda <saurabhnanda gmail com>
- Cc: evolution-hackers gnome org
- Subject: Re: [Evolution-hackers] CamelMimeMessage from known UID -- easiest way?
- Date: Wed, 1 Apr 2009 15:20:40 +0530
On Wed, Apr 1, 2009 at 2:36 PM, Saurabh Nanda <saurabhnanda gmail com> wrote:
> Hi,
>
> I'm a newbie who's trying to write a plugin for Evolution. Please pardon my
> ignorance if my question sounds too simplistic. I've spent hours with the
> Camel documentation, but have not been able to figure this out for myself.
>
> Given the UID [1] what is the easiest way to get a reference to the
> CamelMimeMessage object representing the message? There is a function called
> camel_folder_get_message, but it requires a CamelFolder object as one of the
> arguments. If this is what I need to use, how do I get hold of the
> CamelFolder where the message resides?
your eplugin should hook onto
"org.gnome.evolution.mail.folderview.popup" . Your callback would get
a data pointer of type EMPopupTargetSelect (say EMPopupTargetSelect
*target). target->folder is the pointer to the CamelFolder you need.
HTH,
Partha
>
> [1] I'm assuming UID is the value of the Message-ID header
>
> Thanks,
> Saurabh.
> --
> http://nandz.blogspot.com
> http://foodieforlife.blogspot.com
>
> _______________________________________________
> Evolution-hackers mailing list
> Evolution-hackers gnome org
> http://mail.gnome.org/mailman/listinfo/evolution-hackers
>
>
--
____________________________
Parthasarathi Susarla
____________________________
Where i'm going, I don't need a road.
____________________________
____________________________
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]