Unfortunately it doesn't work for subject and body. It works for the other settings.
If I add a constructor to the options class, that mirrors the properties, it will work.
Is this expected behavior, or is it a bug?
In other words, should this be fixed in Serilog.Settings.Configuration, or in Serilog.Sinks.Email?
Hi,
I am trying to specify a complex parameter for subject and body for Serilog.Sinks.Email like this:
Unfortunately it doesn't work for subject and body. It works for the other settings. If I add a constructor to the options class, that mirrors the properties, it will work.
Is this expected behavior, or is it a bug? In other words, should this be fixed in Serilog.Settings.Configuration, or in Serilog.Sinks.Email?
Best regards