open class EmailAddress
represent a mail address with an email address part and an optional full name e.g. user@example.com user@example.com (This User) Another User <other@example.net>
the constructor will validate the address catching format errors like excess spaces, newlines the test is not very strict, for example an IDN address will be considered valid, even though SMTP doesn't work with that yet
Author
Alexander Lehmann
EmailAddress(fullAddress: String)
parse and create an email address |
open fun getEmail(): String
get the email part of the address |
|
open fun getName(): String
get the name part of the address |
|
open fun toString(): String
get a representation of the address (this is mostly for testing) |