Add an API(s) to get notified when a mail was sent (or sending it failed)
Categories
(Thunderbird :: Add-Ons: Extensions API, enhancement)
Tracking
(thunderbird_esr102+ fixed)
People
(Reporter: florian.unger, Assigned: TbSync)
Details
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-esr102+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.119 Safari/537.36
Steps to reproduce:
I want to get notified when a mail from the compose window was sent successfully
or if it failed, like it was possible with the legacy API "nsIMsgSendListener"
The API should provide the MessageId of the sent mail enabling to fetch the sent Mail from the Sent-Folder and do further things with it.
Updated•5 years ago
|
I made an experiment API which implements the event "onAfterSend" for the compose window
It notifies when a mail was sent and returns the messageId.
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/a0226743f89a
Add onAfterSend event to compose API. r=mkmelin
Assignee | ||
Updated•3 years ago
|
Comment 4•3 years ago
|
||
Unfortunately browser_ext_compose_saveDraft.js and browser_ext_compose_saveTemplate.js are failing on macOS debug after this patch landed.
Assignee | ||
Comment 6•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 8•2 years ago
|
||
Comment on attachment 9285737 [details]
Bug 1654006 - Add onAfterSend event to compose API. r=mkmelin
[Approval Request Comment]
Regression caused by (bug #):
User impact if declined:
Testing completed (on c-c, etc.):
On Beta since 21 days.
Risk to taking this patch (and alternatives if risky):
The patch is not small and affects sending messages (core) but it has not caused any (known) reports on beta. I would like to make the feature available in 102 already and not wait till 115.
Comment 9•2 years ago
|
||
Comment on attachment 9285737 [details]
Bug 1654006 - Add onAfterSend event to compose API. r=mkmelin
[Triage Comment]
Approved for esr102
Comment 10•2 years ago
|
||
bugherder uplift |
Description
•