vertx / io.vertx.ext.mail.mailencoder / EmailAddress

# EmailAddress

`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

### Constructors

<init> | `EmailAddress(fullAddress: String)` parse and create an email address

### Functions

getEmail | `open fun getEmail(): String` get the email part of the address
getName | `open fun getName(): String` get the name part of the address
toString | `open fun toString(): String` get a representation of the address (this is mostly for testing)