|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.aspose.email.MailAddress
public class MailAddress
Represents the address of a message.
| Constructor Summary | |
|---|---|
MailAddress(String address)
Initializes a new instance of the MailAddress class. |
|
MailAddress(String address,
boolean ignoreSmtpCheck)
Initializes a new instance of the MailAddress class. |
|
MailAddress(String address,
String displayName)
Initializes a new instance of the MailAddress class. |
|
MailAddress(String address,
String displayName,
boolean ignoreSmtpCheck)
Initializes a new instance of the MailAddress class. |
|
MailAddress(String address,
String displayName,
Charset displayNameEncoding)
|
|
MailAddress(String address,
String displayName,
Charset displayNameEncoding,
boolean ignoreSmtpCheck)
|
|
| Method Summary | |
|---|---|
void |
add(MailAddress address)
Deprecated. |
void |
add(String address)
Deprecated. |
boolean |
equals(Object value)
|
MailAddress |
get_Item(int i)
|
String |
getAddress()
Gets or sets the e-mail address. |
int |
getCount()
|
String |
getDisplayName()
Gets or sets a display name. |
String |
getHost()
Gets the host portion of the address. |
String |
getUser()
Gets the username. |
int |
hashCode()
|
void |
setAddress(String value)
|
void |
setDisplayName(String value)
|
static MailAddress |
toMailAddress(MailAddressCollection addresses)
|
static MailAddress |
toMailAddress(String address)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MailAddress(String address,
boolean ignoreSmtpCheck)
Initializes a new instance of the MailAddress class.
address - The mail address.ignoreSmtpCheck - if set to true then SMTP check will be omitted.
public MailAddress(String address,
String displayName,
boolean ignoreSmtpCheck)
Initializes a new instance of the MailAddress class.
address - The mail address.displayName - The display name.ignoreSmtpCheck - if set to true then SMTP check will be omitted.
public MailAddress(String address,
String displayName,
Charset displayNameEncoding)
public MailAddress(String address,
String displayName,
Charset displayNameEncoding,
boolean ignoreSmtpCheck)
public MailAddress(String address)
Initializes a new instance of the MailAddress class.
address - The mail address.
public MailAddress(String address,
String displayName)
Initializes a new instance of the MailAddress class.
address - The mail address.displayName - The display name.| Method Detail |
|---|
public String getDisplayName()
Gets or sets a display name.
Value: A String that contains the display name.
getDisplayName in interface IMailAddresspublic void setDisplayName(String value)
setDisplayName in interface IMailAddresspublic String getUser()
Gets the username.
Value: A String that contains the user name.
public String getHost()
Gets the host portion of the address.
Value: A String that contains the name of the host.
public String getAddress()
Gets or sets the e-mail address.
Value: A String that contains the e-mail address.
getAddress in interface IMailAddresspublic void setAddress(String value)
setAddress in interface IMailAddresspublic int getCount()
public MailAddress get_Item(int i)
public static MailAddress toMailAddress(String address)
public static MailAddress toMailAddress(MailAddressCollection addresses)
public String toString()
toString in class Objectpublic boolean equals(Object value)
equals in class Objectpublic int hashCode()
hashCode in class Object@Deprecated public void add(MailAddress address)
@Deprecated public void add(String address)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||