Class EmailAddress
java.lang.Object
io.vertx.ext.mail.mailencoder.EmailAddress
represent a mail address with an email address part and an optional full name e.g.
[email protected] [email protected] (This User) Another User <[email protected]> "display(name)" <[email protected]>
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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
POSTMASTER
- See Also:
-
-
Constructor Details
-
EmailAddress
parse and create an email address- Parameters:
fullAddress- full address string- Throws:
IllegalArgumentException- if an address is not valid
-
-
Method Details
-
getEmail
-
getName
-
toString
-