github Azure/azure-sdk-for-java azure-communication-email_1.0.0-beta.2

latest releases: spring-cloud-azure_4.17.0, spring-cloud-azure-dependencies_4.17.0, spring-cloud-azure-starter-appconfiguration-config_4.17.0...
pre-release12 months ago

1.0.0-beta.2 (2023-03-01)

Features Added

  • AAD token auth has been added for EmailClient and EmailAsyncClient

Breaking Changes

  • Reworked the SDK to follow the LRO (long running operation) approach. The 'beginSend' method returns a poller that can be used to check for the status of sending the email and retrieve the result. The return object has been adjusted to fit this approach.
  • The EmailMessage model has been reworked. It now accepts properties through setters. The EmailRecipients and EmailContent objects have been removed.
  • The getSendStatus method has been removed.
  • The EmailAttachment constructor now accepts BinaryData instead of a string
  • The contentBytesBase64 property under attachments has been changed to contentInBase64
  • The attachmentType property under attachments has been changed to 'contentType'. This now accepts the attachment mime type.
  • The sender property has been changed to senderAddress.
  • The email property under the recipient object has been changed to address.
  • Custom headers in the email message are now key/value pairs.
  • The importance property was removed. Email importance can now be specified through either the x-priority or x-msmail-priority custom headers.

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.