klyn.mails.SendFailedException.SendFailedException
constructor

    public SendFailedException(message as String = "SMTP delivery failed"):

Description

Creates a send failure.

Parameters

Parameter | Description
--- | ---
`message` | Human-readable error description.
`invalidAddresses` | Rejected recipients.
`validSentAddresses` | Accepted recipients.
`unsentAddresses` | Recipients left unsent.

Example

    import klyn.mails

    ex = SendFailedException("Recipient rejected")
    print(ex.invalidAddresses.size)