Closed cmeeren closed 9 months ago
EmailSinkOptions
sets the default subject like this:
https://github.com/serilog/serilog-sinks-email/blob/ac58ea6161142e2ab4f22df3e863eb36104c0c53/src/Serilog.Sinks.Email/Sinks/Email/EmailSinkOptions.cs#L75
Thanks, works great! Should be documented.
Thanks, works great! Should be documented.
Yes, 'someone' should do that :P
When using batching, I must specify an
EmailSinkOptions
inWriteTo.Email
. Unlike the "loose" parameter overload ofWriteTo.Email
,EmailSinkOptions.Body
andEmailSinkOptions.Subject
are of typeITextFormatter
. How can I set a simple string subject and body template when using batching, like I could pre-3.0?