klyn.mails.SendFailedException.SendFailedException
constructor

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

Description

Creates a send failure.

Parameters

- message Human-readable error description.
- invalidAddresses Rejected recipients.
- validSentAddresses Accepted recipients.
- unsentAddresses Recipients left unsent. ```klyn import klyn.mails ex = SendFailedException("Recipient rejected") print(ex.invalidAddresses.size) ```