open mailer by imap-url (Linux)

Discussion of general topics about Seamonkey
Post Reply
OsunSeyi
Posts: 1
Joined: April 6th, 2019, 7:32 am

open mailer by imap-url (Linux)

Post by OsunSeyi »

Hi,
I'm trying to open the Mailer with this option:

Code: Select all

SeaMonkey options
  -mail <URL>        Open the message specified by this URL.
This does work with 'seamonkey -mail /path/to/file.eml'.

BTW: Can't understand, why the ending has to been set on linux, instead of using simply 'magic' the normal unixoid way..

Tried to find out the correct file-url with the error-console, see:
http://forums.mozillazine.org/viewtopic ... &t=2937893.

The way explained there is to evaluate the following code:

Code: Select all

var hdr = top.opener.gFolderDisplay.selectedMessage; alert(hdr.folder.getUriForMsg(hdr));
This does work on Thunderbird, so I got the correct ulr of the specified Message in the form:

Code: Select all

imap-message://user%40t-online.de@secureimap.t-online.de/INBOX/Drafts#62
..which unfortunately didn't work as parameter for 'seamonkey -mail'.

So this would be my first question, which is the correct syntax for opening the mailer-window by url?

Also, which is the code for the Seamonkey error-console for getting out a mail's url on the server?

If possible, I would prefer to use the Message-ID as parameter, which is more easy to get from the mail-header (something like 1234567@t-online.de). Is this possible?

The background is, that I would like to work on the creation of several messages regular whithout allways clicking though the account's folders! Perhaps a desktop-starter...

thanx a lot!

Edit:

For mutt this seems to be possible in the form:

Code: Select all

mutt -f "imaps://USER:PASS@imap.gmail.com/INBOX"
see how-can-i-check-mail-from-the-command-line
But didn't worked in this form for Seamonkey
Last edited by DanRaisch on April 6th, 2019, 2:13 pm, edited 1 time in total.
Reason: (Linux) added to subject line.
Post Reply