klyn.mails.InternetAddress.InternetAddress
constructor

    public InternetAddress(address as String, personal as String = "") throws AddressException:

Description

Creates an internet address.

Parameters

- address Raw mailbox or formatted header value.
- personal Optional display name override.

Throws

- AddressException when the mailbox is malformed. ```klyn import klyn.mails address = InternetAddress("user@example.com", "Demo User") print(address.toString()) ```