emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* hyperlink to IMAP email
@ 2010-03-26 19:51 Arne Freyberger
  2010-03-26 20:54 ` Erik Iverson
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Arne Freyberger @ 2010-03-26 19:51 UTC (permalink / raw)
  To: emacs-orgmode

I would like to link to email messages that are held in IMAP folders either
locally or on the server.   I've tried vm but realized that I would have to set
up a copy of my IMAP folder structure into the vm folder world in order for that
to work.  I was about to investigate wanderlust, but realized what I really want
is a command line mechanism to launch an email reader at a specified message
within my IMAP folders.   So far I have not found one that allows this.   What I
am after is a way to put in a link to invoke a command like:

    myemailclient -imap=username@imapserver.org -folder=myfolder
-id=50215.151.199.150.148.1269632035.squirrel@webmail.my.org

I presently use thunderbird as my email client and it doesn't support this, I've
looked at several other linux email clients and they do not support this either.

Does anyone know of an email client that can be invoked from the command line to
open up at a specific IMAP email?   How do the org-mode  users link to their
IMAP mail?

thanks in advance!
Arne

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: hyperlink to IMAP email
  2010-03-26 19:51 hyperlink to IMAP email Arne Freyberger
@ 2010-03-26 20:54 ` Erik Iverson
  2010-03-26 20:57 ` Alexander Poslavsky
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Erik Iverson @ 2010-03-26 20:54 UTC (permalink / raw)
  To: Arne Freyberger; +Cc: emacs-orgmode

<snip>
> I presently use thunderbird as my email client and it doesn't support this, I've
> looked at several other linux email clients and they do not support this either.
> 
> Does anyone know of an email client that can be invoked from the command line to
> open up at a specific IMAP email?   How do the org-mode  users link to their
> IMAP mail?

I haven't looked at this in a while, but years ago I wanted the exact 
same thing for Thunderbird, but could not find out how to do it.  I did 
put together something that did this very smoothly with Outlook, but 
that is not going to help you.

I will be watching this thread to see if anyone has any good idea.

Does any of this change with Thunderbird 3, I wonder?

--Erik

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: hyperlink to IMAP email
  2010-03-26 19:51 hyperlink to IMAP email Arne Freyberger
  2010-03-26 20:54 ` Erik Iverson
@ 2010-03-26 20:57 ` Alexander Poslavsky
  2010-03-26 21:20 ` David Maus
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Alexander Poslavsky @ 2010-03-26 20:57 UTC (permalink / raw)
  To: Arne Freyberger


On Mar 26, 2010, at 8:51 PM, Arne Freyberger wrote:

> I would like to link to email messages that are held in IMAP folders either
> locally or on the server.   I've tried vm but realized that I would have to set
<snip>
> I presently use thunderbird as my email client and it doesn't support this, I've
> looked at several other linux email clients and they do not support this either.
> 
> Does anyone know of an email client that can be invoked from the command line to
> open up at a specific IMAP email?   How do the org-mode  users link to their
> IMAP mail?

On OS X it os possible to use mail.app, on linux offline-imap, mutt and org-mairix (in contrib)

bye,
alex

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: hyperlink to IMAP email
  2010-03-26 19:51 hyperlink to IMAP email Arne Freyberger
  2010-03-26 20:54 ` Erik Iverson
  2010-03-26 20:57 ` Alexander Poslavsky
@ 2010-03-26 21:20 ` David Maus
  2010-03-29 14:09   ` Arne Freyberger
  2010-03-26 21:20 ` Xiao-Yong Jin
  2010-04-19 17:22 ` Uday S Reddy
  4 siblings, 1 reply; 9+ messages in thread
From: David Maus @ 2010-03-26 21:20 UTC (permalink / raw)
  To: Arne Freyberger; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1893 bytes --]

Arne Freyberger wrote:
>I would like to link to email messages that are held in IMAP folders either
>locally or on the server.   I've tried vm but realized that I would have to set
>up a copy of my IMAP folder structure into the vm folder world in order for that
>to work.  I was about to investigate wanderlust, but realized what I really want
>is a command line mechanism to launch an email reader at a specified message
>within my IMAP folders.   So far I have not found one that allows this.   What I
>am after is a way to put in a link to invoke a command like:

>    myemailclient -imap=username@imapserver.org -folder=myfolder
>-id=50215.151.199.150.148.1269632035.squirrel@webmail.my.org

>I presently use thunderbird as my email client and it doesn't support this, I've
>looked at several other linux email clients and they do not support this either.

Wanderlust does:

[[wl:%Inbox:user/clear@host:993!#4BACBD0F.E2F8C581@blueshieldca.com][<4BACBD0F.E2F8C581@blueshieldca.com>]]

>How do the org-mode users link to their IMAP mail?

Doing the linking on two assumptions:

 - the most significant part of a link to a mail message is the
   message-id; no matter where it is, the message id identifies what I
   am referring to

 - messages have a distinct place: either there are in one of my
   inboxes, or there are in a local archive (transfered after 180
   days)

So I create a link pointing to the inbox: Either the default inbox or
including server information.  This link will be valid for 180 days,
that is way enough to open recent links.

In case the link is invalid because the message is moved to the local archive,
I utilize namazu[1] and Wanderlust's capabilitiy of a "Search folder"
that performs a search for a message in a namazu index.

HTH
  -- David

[1] http://namazu.org/

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: hyperlink to IMAP email
  2010-03-26 19:51 hyperlink to IMAP email Arne Freyberger
                   ` (2 preceding siblings ...)
  2010-03-26 21:20 ` David Maus
@ 2010-03-26 21:20 ` Xiao-Yong Jin
  2010-04-19 17:22 ` Uday S Reddy
  4 siblings, 0 replies; 9+ messages in thread
From: Xiao-Yong Jin @ 2010-03-26 21:20 UTC (permalink / raw)
  To: emacs-orgmode

On Fri, 26 Mar 2010 19:51:52 +0000 (UTC), Arne Freyberger wrote:

> I would like to link to email messages that are held in IMAP folders either
> locally or on the server.   I've tried vm but realized that I would have to set
> up a copy of my IMAP folder structure into the vm folder world in order for that
> to work.  I was about to investigate wanderlust,

Have you looked into gnus?  I've been using gnus and org
links to email messages, either locally stored or remote
IMAP, work perfectly.

Cheers,
jxy
-- 
J    c/*    __o/*
X    <\     * (__
Y    */\      <

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: hyperlink to IMAP email
  2010-03-26 21:20 ` David Maus
@ 2010-03-29 14:09   ` Arne Freyberger
  2010-03-29 18:43     ` David Maus
  0 siblings, 1 reply; 9+ messages in thread
From: Arne Freyberger @ 2010-03-29 14:09 UTC (permalink / raw)
  To: emacs-orgmode

David Maus <dmaus <at> ictsoc.de> writes:
> Wanderlust does:
> 
> [[wl:%Inbox:user/clear <at> host:993!#4BACBD0F.E2F8C581 <at>
blueshieldca.com][<4BACBD0F.E2F8C581 <at> blueshieldca.com>]]
> 
> >How do the org-mode users link to their IMAP mail?
> 
> Doing the linking on two assumptions:
> 
>  - the most significant part of a link to a mail message is the
>    message-id; no matter where it is, the message id identifies what I
>    am referring to
> 
>  - messages have a distinct place: either there are in one of my
>    inboxes, or there are in a local archive (transfered after 180
>    days)
> 
> So I create a link pointing to the inbox: Either the default inbox or
> including server information.  This link will be valid for 180 days,
> that is way enough to open recent links.
> 
> In case the link is invalid because the message is moved to the local archive,
> I utilize namazu[1] and Wanderlust's capabilitiy of a "Search folder"
> that performs a search for a message in a namazu index.
> 
> HTH
>   -- David
> 
> [1] http://namazu.org/
> 
OK, so I spent a few hours configuring Wanderlust.  When I try to link to an
email message via: 

[[wl:%OPSLeaders:freyberg@mail.jlab.org:993!#4BA2737A.4060604@jlab.org][Emails
exchanged]]

I get the following error:
   org-wl-open: Invalid function: wl-folder-get-elmo-folder

I can read the email via Wanderlust, now I just need to get the linking working.
 How do I properly define org-wl-open?

Thanks for the help!
Arne

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re: hyperlink to IMAP email
  2010-03-29 14:09   ` Arne Freyberger
@ 2010-03-29 18:43     ` David Maus
  2010-03-29 19:09       ` Arne Freyberger
  0 siblings, 1 reply; 9+ messages in thread
From: David Maus @ 2010-03-29 18:43 UTC (permalink / raw)
  To: Arne Freyberger; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 599 bytes --]

Arne Freyberger wrote:
>OK, so I spent a few hours configuring Wanderlust.  When I try to link to an
>email message via:

>[[wl:%OPSLeaders:freyberg@mail.jlab.org:993!#4BA2737A.4060604@jlab.org][Emails
>exchanged]]

>I get the following error:
>   org-wl-open: Invalid function: wl-folder-get-elmo-folder

Could it be that you use wl 2.14.x, shipped in the package "wl" in
debian/ubuntu?  If so, you might need to upgrade to the "beta" version
2.15, that could be shipped in package "wl-beta".

HTH
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Re: hyperlink to IMAP email
  2010-03-29 18:43     ` David Maus
@ 2010-03-29 19:09       ` Arne Freyberger
  0 siblings, 0 replies; 9+ messages in thread
From: Arne Freyberger @ 2010-03-29 19:09 UTC (permalink / raw)
  To: David Maus; +Cc: emacs-orgmode

On 03/29/2010 02:43 PM, David Maus wrote:
> Arne Freyberger wrote:
>    
>> OK, so I spent a few hours configuring Wanderlust.  When I try to link to an
>> email message via:
>>      
>    
>> [[wl:%OPSLeaders:freyberg@mail.jlab.org:993!#4BA2737A.4060604@jlab.org][Emails
>> exchanged]]
>>      
>    
>> I get the following error:
>>    org-wl-open: Invalid function: wl-folder-get-elmo-folder
>>      
> Could it be that you use wl 2.14.x, shipped in the package "wl" in
> debian/ubuntu?  If so, you might need to upgrade to the "beta" version
> 2.15, that could be shipped in package "wl-beta".
>
> HTH
>    -- David
> --
> OpenPGP... 0x99ADB83B5A4478E6
> Jabber.... dmjena@jabber.org
> Email..... dmaus@ictsoc.de
>    
Thanks, David!!  That was the problem.  I had grabbed the "stable" 2.14 
release.
  Installed 2.15.6 from http://www.jpl.org/elips/wl/snapshots/   and 
everything
appears to be working.

Arne

-- 
Arne Freyberger
Director Operations Department
Jefferson Lab           Phone: (757) 269-6268
12000 Jefferson Avenue  Pager: (757) 584-6268
Newport News, VA 23606  Email:  freyberg@jlab.org

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: hyperlink to IMAP email
  2010-03-26 19:51 hyperlink to IMAP email Arne Freyberger
                   ` (3 preceding siblings ...)
  2010-03-26 21:20 ` Xiao-Yong Jin
@ 2010-04-19 17:22 ` Uday S Reddy
  4 siblings, 0 replies; 9+ messages in thread
From: Uday S Reddy @ 2010-04-19 17:22 UTC (permalink / raw)
  To: emacs-orgmode

Arne Freyberger wrote:

> I would like to link to email messages that are held in IMAP folders either
> locally or on the server.   I've tried vm but realized that I would have to set
> up a copy of my IMAP folder structure into the vm folder world in order for that
> to work.

You are right.  There wouldn't be much point in using a separate mail client just for Org.  It would be best to stick to whichever mail client you normally use.

The current org-vm.el interface, apparently written by Carsten Dominik, only works for local folders in VM.  (I don't blame him.  This was probably written in 2004, when IMAP wasn't used that much by VM users.)  I have now added changes to extend it to POP and IMAP folders.  They will be part of the next release of VM (v 8.1.1, due to be released pretty soon).  Or, you can get it from Launchpad (bzr get lp:vm/8.1.x).

The IMAP folder names will be in the standard VM format:

  imap:HOST:PORT:MAILBOX:AUTH:USER:PASSWORD

If people would prefer shorter folder names, I could do some more work on it.  But, it probably doesn't matter.  The hyperlinks are rarely seen anyway.

Cheers,
Uday Reddy
(VM Development Team)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-04-19 17:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-26 19:51 hyperlink to IMAP email Arne Freyberger
2010-03-26 20:54 ` Erik Iverson
2010-03-26 20:57 ` Alexander Poslavsky
2010-03-26 21:20 ` David Maus
2010-03-29 14:09   ` Arne Freyberger
2010-03-29 18:43     ` David Maus
2010-03-29 19:09       ` Arne Freyberger
2010-03-26 21:20 ` Xiao-Yong Jin
2010-04-19 17:22 ` Uday S Reddy

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).