Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

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 reply
  • 1 has this problem
  • 1 view
  • Last reply by 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.