Skip to content

Conversation

@poshcodebear
Copy link
Owner

  • Added the SmtpProcessor class and moved the SendMailMessage code to it
  • Overrode the MailKit.Net.Smtp.SmtpClient class to inject a handler for DeliveryStatusNotification
  • Added Legacy and Modern options for delivery status notifications
    • -DeliveryNotificationOption (legacy)
    • -DeliveryStatusNotification (modern)
  • Added tests for the new SmtpProcessor class

Closes #8

@poshcodebear poshcodebear added enhancement New feature or request Send-MKMailMessage Issue targets the Send-MKMailMessage cmdlet labels Mar 19, 2022
@poshcodebear poshcodebear added this to the v1.0 milestone Mar 19, 2022
@poshcodebear poshcodebear self-assigned this Mar 19, 2022
@poshcodebear poshcodebear linked an issue Mar 19, 2022 that may be closed by this pull request
@poshcodebear poshcodebear merged commit 9ceb265 into dev Mar 19, 2022
@poshcodebear poshcodebear deleted the 8-add-delivery-notification-options branch March 19, 2022 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Send-MKMailMessage Issue targets the Send-MKMailMessage cmdlet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add delivery notification options

2 participants