Function validate

  • Validate syntax for a RFC 5321/6531(SMTPUTF8) mailbox address.

    Returns

    The normalized, validated mailbox address string or false on failure.

    Parameters

    • mailbox: string

      The mailbox address.

    • type: MailboxType = MailboxType.RFC5321

    Returns string | false

Generated using TypeDoc