Repository navigation
Fixed
- Overlapping sends in one process could resend a message after a 504. The Graph SDK's retry settings are shared by every runspace in a process, for example under
ForEach-Object -Parallel. When twoSend-Emailcalls overlapped, one could restore SDK retries while the other's request was going out, so the SDK resent it after a 504. The last send to finish also left SDK retries turned off for the rest of the process. Sends through the SDK now take a process-wide lock around changing and restoring those settings, so they run one at a time. A send that waits more than 5 minutes for the lock fails without sending, and SMTP fallback still applies. (#12)
Scripts that send from one runspace at a time, and sends that use an access token directly, aren't affected.
keel.Http has no changes; it's at 1.1.1 because both modules share a version.