Discussion:
[VM] Starting with IMAP folder
Johan Vromans
2014-11-14 19:20:18 UTC
Permalink
Hi,

I want to start up VM with an IMAP folder. However, it seems that
vm-visit-imap-folder only works when called interactively.

Is there an alternative way to start VM with an IMAP folder?

-- Johan
Uday Reddy
2014-11-16 17:31:30 UTC
Permalink
Post by Johan Vromans
Hi,
I want to start up VM with an IMAP folder. However, it seems that
vm-visit-imap-folder only works when called interactively.
Is there an alternative way to start VM with an IMAP folder?
You can set vm-primary-inbox to an IMAP folder. You have to use the "long
format" for the IMAP folder name though. See the manual for details.

Cheers,
Uday
Joe Malcolm
2015-01-26 23:42:19 UTC
Permalink
Uday,
Post by Uday Reddy
Post by Johan Vromans
Hi,
I want to start up VM with an IMAP folder. However, it seems that
vm-visit-imap-folder only works when called interactively.
Is there an alternative way to start VM with an IMAP folder?
You can set vm-primary-inbox to an IMAP folder. You have to use the "long
format" for the IMAP folder name though. See the manual for details.
I don't see a reference to a "long format" in the info doc - does this
mean the following format?

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

Joe
Uday Reddy
2015-01-27 15:30:29 UTC
Permalink
Post by Joe Malcolm
I don't see a reference to a "long format" in the info doc - does this
mean the following format?
imap:HOST:PORT:MAILBOX:AUTH:USER:PASSWORD
Indeed, yes.

Cheers,
Uday
Joe Malcolm
2015-01-30 01:43:52 UTC
Permalink
Post by Uday Reddy
Post by Joe Malcolm
I don't see a reference to a "long format" in the info doc - does this
mean the following format?
imap:HOST:PORT:MAILBOX:AUTH:USER:PASSWORD
Indeed, yes.
OK, thank you. Is this the syntax that would be used to save a message
from a local folder to an imap folder? If not, is this possible?

Or for incorporating an IMAP folder into a virtual folder?

Joe
Uday S Reddy
2015-01-30 10:36:58 UTC
Permalink
Post by Joe Malcolm
OK, thank you. Is this the syntax that would be used to save a message
from a local folder to an imap folder? If not, is this possible?
The long format is what we need to use inside Lisp code or
customisations. This was Kyle Jones's original design.

I added a front-end so that any time we need to type in a folder name from
the minibuffer, we can use the short format. So,the short format is only for
interactive use.

To save a message from a local folder to imap folder, please use
`vm-save-message-to-imap-folder'.
Post by Joe Malcolm
Or for incorporating an IMAP folder into a virtual folder?
If this is in Lisp code, then the long format.

Cheers,
Uday

Loading...