AddressException
class in package klyn.mails

    public class AddressException extends MessagingException:

Object
└ Exception
└ MessagingException
└ AddressException

Raised when an email address is malformed.

    import klyn.mails

    try:
    InternetAddress("invalid")
    catch ex as AddressException:
    print(ex.message)

Inherited Properties
property Inherited Properties from Exception: message
property Inherited Properties from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | AddressException `AddressException(message as String = "Invalid email address"):` | Creates an address exception.

Inherited Methods
method Inherited Methods from Exception: toString
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml