Skip to content

Conversation

@nduxbury
Copy link

Alter BounceDetectResult so it can handle delay messages from Exchange and non-existing inbox messages from Office 365. Also, added handling of unknown status codes so they don't result in an exception.

@rklec
Copy link
Contributor

rklec commented Sep 26, 2024

This looks useful, what about merging it?

Copy link
Contributor

@rklec rklec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW merged this together with #19 and #20. There were some minor merge conflicts.

master...rklec:MailBounceDetector:mergeTogether

Assert.Null(result.RemoteMta);
Assert.Equal("mail.example.com", result.ReportingMta);
Assert.Equal("rui.lopes@example.com", result.FinalRecipient);
Assert.Equal("<Q8P3DY5EH0U4.ERW6TCCK5TMF3@example.com>", result.UndeliveredMessageId);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Assert.Equal("<Q8P3DY5EH0U4.ERW6TCCK5TMF3@example.com>", result.UndeliveredMessageId);
Assert.Equal("Q8P3DY5EH0U4.ERW6TCCK5TMF3@example.com", result.UndeliveredMessageId);

Tests fail otherwise.

I fixed it in my fork: rklec@330f3ab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants