Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

Şu anda bakım nedeniyle sitemiz kısıtlı işlevsellik sunmaktadır. Mevcut makaleler sorununuzu çözmediyse ve bize soru sormak isterseniz Twitter’da @FirefoxSupport hesabından ve Reddit’teki /r/firefox subreddit'inden destek gönüllülerimize ulaşabilirsiniz.

Mozilla Destek’te Ara

Destek dolandırıcılığından kaçının. Mozilla sizden asla bir telefon numarasını aramanızı, mesaj göndermenizi veya kişisel bilgilerinizi paylaşmanızı istemez. Şüpheli durumları “Kötüye kullanım bildir” seçeneğini kullanarak bildirebilirsiniz.

Daha Fazlasını Öğren

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

  • 2 yanıt
  • 1 kişi bu sorunu yaşıyor
  • 15 gösterim
  • Son yanıtı yazan: 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.

Tüm Yanıtlar (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.