GetMailTipsOptions

Inheritance: java.lang.Object

public final class GetMailTipsOptions

Represents options for GetMailTips

Constructors

Constructor Description
GetMailTipsOptions(MailAddress sendingAs, MailAddressCollection recipients, int mailTipsRequested) Initializes a new instance of the GetMailTipsOptions class

Methods

Method Description
getSendingAs() Gets or sets an e-mail address that a user is trying to send as.
setSendingAs(MailAddress value) Gets or sets an e-mail address that a user is trying to send as.
getRecipients() Gets or sets a list of recipients to check for mail tips.
setRecipients(MailAddressCollection value) Gets or sets a list of recipients to check for mail tips.
getMailTipsRequested() Gets or sets the types of mail tips requested from the service.
setMailTipsRequested(int value) Gets or sets the types of mail tips requested from the service.

GetMailTipsOptions(MailAddress sendingAs, MailAddressCollection recipients, int mailTipsRequested)

public GetMailTipsOptions(MailAddress sendingAs, MailAddressCollection recipients, int mailTipsRequested)

Initializes a new instance of the GetMailTipsOptions class

Parameters:

Parameter Type Description
sendingAs MailAddress Specifies an e-mail address that a user is trying to send as.
recipients MailAddressCollection Specifies a list of recipients to check for mail tips.
mailTipsRequested int Specifies the types of mail tips requested from the service.

getSendingAs()

public final MailAddress getSendingAs()

Gets or sets an e-mail address that a user is trying to send as.

Returns: MailAddress

setSendingAs(MailAddress value)

public final void setSendingAs(MailAddress value)

Gets or sets an e-mail address that a user is trying to send as.

Parameters:

Parameter Type Description
value MailAddress

getRecipients()

public final MailAddressCollection getRecipients()

Gets or sets a list of recipients to check for mail tips.

Returns: MailAddressCollection

setRecipients(MailAddressCollection value)

public final void setRecipients(MailAddressCollection value)

Gets or sets a list of recipients to check for mail tips.

Parameters:

Parameter Type Description
value MailAddressCollection

getMailTipsRequested()

public final int getMailTipsRequested()

Gets or sets the types of mail tips requested from the service.

Returns: int

setMailTipsRequested(int value)

public final void setMailTipsRequested(int value)

Gets or sets the types of mail tips requested from the service.

Parameters:

Parameter Type Description
value int