method ISmtpTransport.verify
Since 0.1.0
ISmtpTransport.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.

Return Type

Promise<unknown>

Resolves when the connection is verified

Usage

import { type ISmtpTransport } from "mail-plugin/src/index.ts";