Die Funktionalität dieser Website ist durch Wartungsarbeiten eingeschränkt, die Ihr Erlebnis verbessern sollen. Wenn ein Artikel Ihr Problem nicht löst und Sie eine Frage stellen möchten, können Sie unsere Gemeinschaft über @FirefoxSupport auf Twitter, /r/firefox oder Reddit fragen.

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

I would like to use URL reference to a mail in Thunderbird to open it directly from CLI into thunderbird GUI

  • 2 Antworten
  • 1 hat dieses Problem
  • 15 Aufrufe
  • Letzte Antwort von sfhowes

more options

I see in the output of "thunderbird --help" an option "-mail" which can be used to open thunderbird at the mail view or if a "URL" argument is provided to "-mail" it opens that mail directly when thunderbird opens. Here is an excerpt from the --help page:

 -mail              Open the mail folder view.
 -mail <URL>        Open the message specified by this URL.

the option -mail <URL> would greatly benefit me in my notes as I can directly open the mail in thunderbird using the reference and a simple script. I have been searching for URLs to the mails in my thunderbird mailbox but could not locate a URL for any mail. How do I make it visible? I would need to view the URLs of my mails to note it down in my notes.

I see in the output of "thunderbird --help" an option "-mail" which can be used to open thunderbird at the mail view or if a "URL" argument is provided to "-mail" it opens that mail directly when thunderbird opens. Here is an excerpt from the --help page: -mail Open the mail folder view. -mail <URL> Open the message specified by this URL. the option -mail <URL> would greatly benefit me in my notes as I can directly open the mail in thunderbird using the reference and a simple script. I have been searching for URLs to the mails in my thunderbird mailbox but could not locate a URL for any mail. How do I make it visible? I would need to view the URLs of my mails to note it down in my notes.

Alle Antworten (2)

more options

I was able to find the [article online for command line arguments] and I then tried to follow those instruction by selecting the mail by just selecting it from the mail box and opening the error console and then typing var hdr = top.opener.gFolderDisplay.selectedMessage; alert(hdr.folder.getUriForMsg(hdr)); but I get the response as "TypeError: top.opener is null" . Please let me know if I am not properly selecting the message. What would be the right way forward?

more options

I get the same TypeError in TB 68, which I suspect is because the recommended var hdr command is obsolete in new versions of TB. There is an add-on that apparently performs some of what you're looking for: ThunderLink.