Changelog for Thunderbird 153
The following WebExtension API changes were introduced in Thunderbird 153.
messages
function saveMessage — Saves a message programmatically as a draft or as a template in the background without user interaction. The save mode defaults to <value>draft</value>. The returned Promise fulfills once the message has been successfully saved. Throws when there has been an error while saving the message.\n**Note:** If no <value>deliveryFormat</value> is specified, the message is saved as plain text when the body contains no HTML formatting.
function sendMessage — Sends a message programmatically in the background without user interaction. If the send mode is not specified or set to <value>default</value>, the message will be sent directly if the user is online and placed in the user’s outbox otherwise. The returned Promise fulfills once the message has been successfully sent or placed in the user’s outbox. Throws when there has been an error while sending the message to the outgoing mail server.\n**Note:** If no <value>deliveryFormat</value> is specified, the message is sent as plain text when the body contains no HTML formatting.\n**Note:** It is possible to pass in a compose.ComposeDetails object as the <value>details</value> parameter, and it will be interpreted as a messages.NewMessageDetails object.
type AttachmentType — The type of an attachment in a message.
type MessageAttachment.cloudFileUrl — The remote location a cloudFile attachment’s content is stored at. Present for cloudFile attachments (see messages.AttachmentType), whose content is not part of the message.
type MessageAttachment.linkUrl — The remote location the attachment’s content is linked to. Present for linked attachments (see messages.AttachmentType), whose content is not part of the message and can be fetched from this url.
type MessageAttachment.type — The type of this attachment.
type NewMessageDetails — Details of a message to be sent.
messengerSettings
setting composeInlineSpellCheckEnabled — Whether the inline (real-time) spell checker is enabled in the message compose window.
oauthProvider
property oauth_provider.issuerIdentifier — The OAuth authorization server issuer identifier, as defined by RFC 9207. If provided, it must be an exact string match to what the provider gives in the iss field.
property oauth_provider.useExternalBrowser — If the login flow should use the system web browser. If true, the redirectionEndpoint must be a loopback address, so an origin of http://127.0.0.1 or http://localhost.
tabs
function connect.connectInfo.documentId — Open a port to a specific document identified by documentId instead of all frames in the tab.
function sendMessage.options.documentId — Send a message to a specific document identified by documentId instead of all frames in the tab.