Class EmailRecipients

java.lang.Object
com.azure.communication.email.models.EmailRecipients

public final class EmailRecipients extends Object
Recipients of the email.
  • Constructor Details

    • EmailRecipients

      public EmailRecipients(Iterable<EmailAddress> to)
      Constructor for EmailRecipients
      Parameters:
      to - the email to recipients
  • Method Details

    • getTo

      public Iterable<EmailAddress> getTo()
      Get the to property: Email To recipients.
      Returns:
      the to value.
    • getCc

      public Iterable<EmailAddress> getCc()
      Get the cc property: Email CC recipients.
      Returns:
      the cc value.
    • setCc

      Set the cc property: Email CC recipients.
      Parameters:
      cc - the cc value to set.
      Returns:
      the EmailRecipients object itself.
    • getBcc

      public Iterable<EmailAddress> getBcc()
      Get the bcc property: Email BCC recipients.
      Returns:
      the bcc value.
    • setBcc

      public EmailRecipients setBcc(Iterable<EmailAddress> bcc)
      Set the bcc property: Email BCC recipients.
      Parameters:
      bcc - the bcc value to set.
      Returns:
      the EmailRecipients object itself.