Package com.azure.communication.email
Class EmailClient
java.lang.Object
com.azure.communication.email.EmailClient
Initializes a new instance of the synchronous EmailClient type.
-
Method Summary
Modifier and TypeMethodDescriptiongetSendStatus
(String messageId) Gets the status of a message sent previously.send
(EmailMessage emailMessage) Queues an email message to be sent to one or more recipients
-
Method Details
-
getSendStatus
Gets the status of a message sent previously.- Parameters:
messageId
- System generated message id (GUID) returned from a previous call to send email.- Returns:
- the status of a message sent previously
-
send
Queues an email message to be sent to one or more recipients- Parameters:
emailMessage
- Message payload for sending an email.- Returns:
- the result of the email sent
-