Skip to content

MailKit conversion redux#79

Merged
nblumhardt merged 6 commits into
datalust:devfrom
MattMofDoom:MailKit
Aug 16, 2021
Merged

MailKit conversion redux#79
nblumhardt merged 6 commits into
datalust:devfrom
MattMofDoom:MailKit

Conversation

@MattMofDoom
Copy link
Copy Markdown
Contributor

Per discussion in #78

@MattMofDoom MattMofDoom mentioned this pull request Aug 13, 2021
@MattMofDoom
Copy link
Copy Markdown
Contributor Author

Note - the additional changes in #78 fix the SmtpOptions implementation not being set as Lazy and an issue with To address parsing, but this was the most natural split between the MailKit implementation and subsequent changes. If I went past this commit, it would pull in mail host fallback and delivery using DNS.

(new BodyBuilder() {HtmlBody = body}).ToMessageBody()));

if (!result.Success)
throw result.Errors;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This will cause the loss of the original stack trace; I might head towards making Send() throw, but I'll merge now to avoid more churn on this long and storied PR :-)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No worries. I do have handling for this in further commits - will send a new PR for the next set.

@nblumhardt nblumhardt merged commit 7869372 into datalust:dev Aug 16, 2021
@nblumhardt nblumhardt mentioned this pull request Feb 22, 2023
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