Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 1 odgovor
  • 1 ima ovaj problem
  • 1 view
  • Posljednji odgovor poslao 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

All Replies (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.