Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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

  • 2 답장
  • 1 이 문제를 만남
  • 15 보기
  • 최종 답변자: 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.

모든 댓글 (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.