Type alias ReplyFn

ReplyFn: ((body, format?) => Promise<void>)

Type declaration

    • (body, format?): Promise<void>
    • Reply to the sender of the email.

      Parameters

      • body: string
      • Optional format: "plain" | "html"
        Optional

      Returns Promise<void>

      Throws

      If error occurs while sending the email.

Generated using TypeDoc