This patch generalises the existing nsISmtpService and nsISmtpServer interfaces
to remove assumptions that the sending mail server is always SMTP. In this new
architecture, the protocol-specific settings are set in a separate,
protocol-specific XPIDL interface that is used to configure the sending server.
I have also removed some attributes and a method from these interfaces, as they
either were not needed across the XPCOM boundary, or were not used at all.
Intentionally left out of scope for this patch:
* Migrating (from .properties to Fluent) and updating some l10 strings to not
mention SMTP explicitly.
* Conditionally defining the outgoing protocol in the account setup code.
* Conditionally showing a server's details and edit form in the account
settings code.
* Migrating prefs to not use "smtp" in their names if the server doesn't
actually use SMTP.
Differential Revision: https://phabricator.services.mozilla.com/D203799
--HG--
rename : mailnews/compose/public/nsISmtpServer.idl => mailnews/compose/public/nsIMsgOutgoingServer.idl
rename : mailnews/compose/public/nsISmtpService.idl => mailnews/compose/public/nsIMsgOutgoingServerService.idl
rename : mailnews/compose/src/SmtpService.sys.mjs => mailnews/compose/src/OutgoingServerService.sys.mjs
rename : mailnews/compose/test/unit/test_nsSmtpService1.js => mailnews/compose/test/unit/test_nsMsgOutgoingServerService1.js
extra : moz-landing-system : lando