AddressException
classin packageklyn.mails
public class AddressException extends MessagingException:
└ AddressException

Raised when an email address is malformed.

import klyn.mails

try:
InternetAddress("invalid")
catch ex as AddressException:
print(ex.message)
Inherited Properties
propertyInherited Properties from Exception: message
propertyInherited 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
methodInherited Methods from Exception: toString
methodInherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml