Class EmailAsyncClient

java.lang.Object
com.azure.communication.email.EmailAsyncClient

public final class EmailAsyncClient extends Object
Initializes a new instance of the asynchronous EmailAsyncClient type.
  • Method Details

    • beginSend

      public com.azure.core.util.polling.PollerFlux<EmailSendResult,EmailSendResult> beginSend(EmailMessage message)
      Queues an email message to be sent to one or more recipients.
      Parameters:
      message - Message payload for sending an email.
      Returns:
      the PollerFlux for polling of status of the long running operation.
      Throws:
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.