-
Notifications
You must be signed in to change notification settings - Fork 69
Open MailKit secure socket option setting #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hi, @nblumhardt , |
I would like to see this merged as well, I need to set the SecureSocketOptions in order to send email in my environment. |
Thanks for the nudge. I would prefer not to expose |
|
I think this sink should introduce an enum similar or the same to SecureSocketOptions to avoid dependency on MailKit. And have one-to-one mapping between these enums. Come on, guys, lets finish this, it will be very useful! |
Introducing an enum that maps to MailKit's one sounds reasonable 👍 |
259ce91
to
295ab0a
Compare
I'm sorry guys, better late than never. @nblumhardt please review my latest change. Thanks loads. |
src/Serilog.Sinks.Email/Sinks/Email/MailKitSecureSocketOptions.cs
Outdated
Show resolved
Hide resolved
src/Serilog.Sinks.Email/Sinks/Email/MailKitSecureSocketOptions.cs
Outdated
Show resolved
Hide resolved
src/Serilog.Sinks.Email/Sinks/Email/MailKitSecureSocketOptions.cs
Outdated
Show resolved
Hide resolved
@nblumhardt @andriysavin |
@nblumhardt Hi, |
@nblumhardt please, take a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good 👍
- Include license header of original file. Reference: https://github.com/jstedfast/MailKit/blob/a85c3d125319479156b2d9159d4dfa93991e3094/MailKit/Security/SecureSocketOptions.cs - Refine summary
Righto! 👍 Let's give this a try on |
@nblumhardt Is there a package feed for dev branch? |
I believe this is the one. |
Thank you for your contribution, It's very helpful to me. |
Thanks for this, The pre-release code resolves my issue as well. Any idea when the final release will be published? |
related to Issue #69
Enable user to set secure socket option for MailKit