1.0.0b2 (2023-03-01)
Features Added
- Adding support for AAD token authentication
- Added the ability to specify the API version by an optional
api_version
keyword parameter.
Breaking Changes
- Made the SDK Model-less. Objects are now constructed using a dictionary instead of a model.
- Reworked the SDK to follow the LRO (long running operation) approach. The 'begin_send' 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
get_send_status
method has been removed. - The
sender
property has been changed tosenderAddress
. - The
email
property under the recipient object has been changed toaddress
. - The
attachmentType
property underattachments
has been changed to 'contentType'. This now accepts the attachment mime type. - The
contentBytesBase64
property underattachments
has been changed tocontentInBase64
- 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
orx-msmail-priority
custom headers.
Other Changes
Python 3.6 is no longer supported. Please use Python version 3.7 or later. For more details, please read our page on Azure SDK for Python version support policy.