@yoshteq/ti365-ts-sdk
    Preparing search index...

    Class SmtpSession

    Represents an SMTP Session after an established connection.

    Index

    Constructors

    Properties

    smtpClient: SmtpClient
    reader: SocketReader

    Accessors

    • get mailAccount(): string

      Returns string

    Methods

    • Parameters

      • types: DsnType[]

      Returns void

    • Sends MIME mail content within a defined delivery envelope.

      Parameters

      • sender: string

        sender of the mail envelope. Please only use the plain Mail address of the logged in user.

      • recipients: string[]

        List of all recipient of the Mail Envelope (incl. To, CC and BCC ).

      • mimeMessage: string

        The actual MIME content of the mail.

      Returns Promise<void>

      Rejects promise if the server returns an unexpected status code.