Structural shape of a nodemailer transport. The plugin never hard-depends on
nodemailer; inject this shape, or SmtpProvider lazily loads the
package and adapts it to this facade.
sendMail(mail: { from: string; to: string; subject: string; text?: string; html?: string; cc?: string; bcc?: string; }): Promise<unknown>
Sends one message.
Since 0.1.0
optional
verify(): Promise<unknown>
M70c: verifies the SMTP connection. nodemailer's real transport exposes
this; a minimal injected fake may omit it, in which case the provider
reports unknown reachability rather than false.