serilog / serilog-sinks-email

A Serilog sink that writes events to SMTP email
Apache License 2.0
73 stars 68 forks source link

Allow ITextFormatter and Is Email Body HTML override. #6

Closed chrisbrain closed 9 years ago

chrisbrain commented 9 years ago

Added new overload to create EmailSink with custom ITextFormatter and added IsBodyHtml to EmailConnectionInfo.

These were to allow the full Serilog details to be written into the email, including the custom properties which had been added.

merbla commented 9 years ago

Thanks @chrisbrain looks good

chrisbrain commented 9 years ago

I don't think I created the pull request correctly sorry, this doesn't look right.

chrisbrain commented 9 years ago

Have had another go: https://github.com/serilog/serilog-sinks-email/pull/7

I can actually see the changes I made this time.