EmailAddress
Leave feedback
On this page
Inheritance: java.lang.Object
public class EmailAddress
Represents an address of an email message.
| Method | Description |
|---|---|
| getAddress() | Gets the string representation of the email address. |
| getDisplayName() | Gets the display name associated with the address. |
| getOriginalAddressString() | Gets the original address string. |
| getHost() | Gets the host portion of the address. |
| getUser() | Gets the username. |
public final String getAddress()
Gets the string representation of the email address.
Returns: java.lang.String - The string representation of the email address.
public final String getDisplayName()
Gets the display name associated with the address.
Returns: java.lang.String - The display name associated with the address.
public final String getOriginalAddressString()
Gets the original address string.
Returns: java.lang.String - The original address string.
public final String getHost()
Gets the host portion of the address.
Returns: java.lang.String - The host portion of the address.
public final String getUser()
Gets the username.
Returns: java.lang.String - The username.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.