[Fwd: viewing a message in evolution]
- From: Nat Friedman <nat nat org>
- To: "dashboard-hackers gnome org" <dashboard-hackers gnome org>
- Subject: [Fwd: viewing a message in evolution]
- Date: Fri, 14 May 2004 20:56:18 -0400
Hey guys,
Dashboard now supports Dewey mail matches in CVS. I disabled the
now-obsolete EvolutionMailBackend, since Dewey is now indexing mails for
us. Also, the MailMessageRenderer now supports Michael Zucchi's
Evolutoin 1.5 hack to allow us to open a specific message in Evolution
when you click on a mail match in Dashboard. Hoozah!
Regards,
Nat
--- Begin Message ---
- From: Not Zed <notzed ximian com>
- To: trow ximian com
- Cc: nat novell com, jpr ximian com
- Subject: viewing a message in evolution
- Date: Thu, 13 May 2004 11:09:37 +0800
I've extended the uri handler to view a message. This is in cvs.
URI's are of the form
email://accountid/Folder/Path;uid=uid
Which is the abstract url notation used internally in evolution mail anyway (apart from the uid bit).
Where:
accountid = the account id, in the form user host (but it isn't an actual user or host it's a unique id generated in EAccount).
For local mail, which i understand is all you need for this, use the pseudo account "local local"
Folder/Path = the folder name.
uid = the uid.
I dont even want to know how you're getting the info, i'm sure you can work out the folder name, but thats all you need, the folder name and the uid, from a local folder, since the account id is always local local
The uid is as a url parameter. For evolution's local mailboxes, that will always be a decimal number anyway.
e.g.
evolution-1.5 "email://local local/Inbox;uid=20"
will open message 20 of the local Inbox, if it exists.
Its a url, so url encoding applies, etc.
If the uid doesn't exist you'll get an error box and a blank window - fixing that is more difficult. IF the folder doesn't exist you'll get an error box only. But at least you'll get something.
--- End Message ---
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]