public static class RFC2822AddressParser.ParsedAddress
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDomain()
Returns domain part of the email address.
|
javax.mail.internet.InternetAddress |
getInternetAddress()
Given a 2822-valid single address string, returns an InternetAddress object holding
that address, otherwise returns null.
|
java.lang.String |
getLocalPart()
Returns local part of the email address.
|
java.lang.String |
getPersonalName()
Returns personal name.
|
java.lang.String |
getReturnPathAddress()
Pulls out the cleaned-up return path address.
|
boolean |
isValid()
Returns
true if email is valid. |
boolean |
isValidReturnPath()
Returns
true if the email represents a valid return path. |
public boolean isValid()
true
if email is valid.public java.lang.String getPersonalName()
public java.lang.String getLocalPart()
public java.lang.String getDomain()
public javax.mail.internet.InternetAddress getInternetAddress()
public boolean isValidReturnPath()
true
if the email represents a valid return path.public java.lang.String getReturnPathAddress()
Copyright © 2003-present Jodd Team