Closed Bug 1699672 Opened 4 years ago Closed 4 years ago

Add an API(s) to trigger the sending of an email in the compose window

Categories

(Thunderbird :: Add-Ons: Extensions API, enhancement)

enhancement

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
90 Branch
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

Assignee: nobody → john
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → 90 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/4d9b779989fd
Add sendMessage function and onComposeStateChanged event to compose API. r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: