com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class GetMailTipsOptions



  • public final class GetMailTipsOptions
    extends Object

    Represents options for GetMailTips

    • Constructor Detail

      • GetMailTipsOptions

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

        Initializes a new instance of the GetMailTipsOptions class

        Parameters:
        sendingAs - Specifies an e-mail address that a user is trying to send as.
        recipients - Specifies a list of recipients to check for mail tips.
        mailTipsRequested - Specifies the types of mail tips requested from the service.
    • Method Detail

      • getSendingAs

        public final MailAddress getSendingAs()

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

        Throws:
        ArgumentNullException - value is null
      • setSendingAs

        public final void setSendingAs(MailAddress value)

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

        Throws:
        ArgumentNullException - value is null
      • getRecipients

        public final MailAddressCollection getRecipients()

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

        Throws:
        ArgumentNullException - value is null
      • setRecipients

        public final void setRecipients(MailAddressCollection value)

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

        Throws:
        ArgumentNullException - value is null
      • getMailTipsRequested

        public final int getMailTipsRequested()

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

      • setMailTipsRequested

        public final void setMailTipsRequested(int value)

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