搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How can i create a program that uses Thunderbird API, to get email and send email?

  • 1 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Zenos

more options

We are installing an IMAP solution , and we plan to use Thunderbird as a front end, one of my duties is to create test plans from the Front End stand point, and if possible automate that test. Basically i have three questions, of the same topic: Automation.

1st) Can i automate Thunderbird with some API. to execute basic operations (read email, send email, read folders, create account).?

2nd) If i can automate Thunderbird, can i use the API to create a Load Test: Let me explain, i need to stress the backend, so my plan is to create a program that simulates 10,000 users reading email using Thunderbird, Can i make this if there is an API for Thunderbird.?

3) If there is an API, where can i find a example program and documentation, which language can i use?.

 Thank you i appreciate your attention
We are installing an IMAP solution , and we plan to use Thunderbird as a front end, one of my duties is to create test plans from the Front End stand point, and if possible automate that test. Basically i have three questions, of the same topic: Automation. 1st) Can i automate Thunderbird with some API. to execute basic operations (read email, send email, read folders, create account).? 2nd) If i can automate Thunderbird, can i use the API to create a Load Test: Let me explain, i need to stress the backend, so my plan is to create a program that simulates 10,000 users reading email using Thunderbird, Can i make this if there is an API for Thunderbird.? 3) If there is an API, where can i find a example program and documentation, which language can i use?. Thank you i appreciate your attention

所有回覆 (1)

more options

I don't think Thunderbird has an API.

Whilst I have never seen an explicit statement, my impression is that it was designed to make it unattractive to those who might use it be a nuisance. The limit on the number of addressees, the lack of automation, and the lack of support for arbitrary "from:" addresses, for instance.

You can launch it via a command line and you can prefill the message text, addressee, sender and attachments. But even so, you need to click the button or use the appropriate keystroke to actually send the message.

I don't think Thunderbird will be able to help you.