serilog-sinks-email icon indicating copy to clipboard operation
serilog-sinks-email copied to clipboard

Add LocalEndPoint to EmailConnectionInfo

Open jag43 opened this issue 7 years ago • 0 comments

EmailConnectionInfo could do with having a LocalEndPoint property.

In our case we have a few different apps running on one machine and they all send emails. To prevent them from fighting over port 25 we are using MailKit's LocalEndPoint property (set to 0 and it will pick up one that is free).

I'm not how this would work with the System.Net.Mail version though as there is no equivalent there.

jag43 avatar Oct 26 '18 11:10 jag43