Add an API(s) to trigger the sending of an email in the compose window
Categories
(Thunderbird :: Add-Ons: Extensions API, enhancement)
Tracking
(thunderbird_esr78 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | wontfix |
People
(Reporter: florian.unger, Assigned: TbSync)
Details
Attachments
(1 file)
Steps to reproduce:
I am trying to convert an existing legacy Addon to the new Mailextension API and need the possiblity to trigger the sending of an email that is currently edited in the compose window.
The goal is to implement an alternate send button that modifies the mail before sending it. For example add an standard-recipient to the composeDetails.
Actual results:
I could not find an equivalent API in the Thunderbird WebExtension API reference.
Expected results:
Add an API(s) to trigger the sending of an email in the compose window.
I made an Experiment API which implements this feature.
You can find the code here:
https://github.com/int-red/experiment-api-send-mail
this feature was discussed in these threads of the Add-on Developers forum:
https://thunderbird.topicbox.com/groups/addons/Ta63f508217d9cf75-M1a193b46e39c119841cdbe88/how-to-send-composed-email
https://thunderbird.topicbox.com/groups/addons/T506e01685d3097b3/is-it-possible-to-call-send-email-from-the-new-mail-window
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D112027
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/4d9b779989fd
Add sendMessage function and onComposeStateChanged event to compose API. r=darktrojan
Description
•