Setu-TS
    Preparing search index...

    EmailChannel dispatches notifications through the resolved IMailer.

    The channel dispatch name

    The injected IMailer (typically from M29's MailPlugin)

    0.1.0

    Implements

    • NotificationChannel
    Index
    name: string

    Channel dispatch name (e.g. 'email', 'sms').

    • Reports the mail transport's reachability by asking the injected IMailer, which is the only channel in this package whose transport offers a side-effect-free probe.

      isHealthy is optional on IMailer, so an injected mailer that does not implement it — an application's own stub, or a MailService over a provider with no probe — yields undefined rather than a guess.

      Returns Promise<boolean | undefined>

      true reachable, false contacted and unreachable, undefined when the mailer cannot answer

      0.6.0