I'm a noob in developing extensions for Thunderbird. How can I send a letter when the event occurs with an attachment using javascript and Api Mozilla?
Asked
Active
Viewed 642 times
1 Answers
0
Sending an email is a complex task for which a library exists (thunderbird-stdlib). See the code of the send function over there : https://github.com/protz/thunderbird-stdlib/blob/master/send.js#L452
You question is very much un-specific, so it's hard to reply properly, but documentation on Thunderbird is at https://developer.mozilla.org/en/Extensions/Thunderbird/HowTos and general documentation for addons (much of which is applicable to thunderbird) is at https://developer.mozilla.org/en-US/Add-ons/Overlay_Extensions
Best of luck,

Jonathan Protzenko
- 1,709
- 8
- 13