Open pcharb opened 4 years ago
I have the same problem, no docs or explanation for how to configure this sink through AppSettings. I tried using
<add key="serilog:write-to:Email.networkCredentials.UserName" value="username"/>
<add key="serilog:write-to:Email.networkCredentials.Password" value="password"/>
Also, no luck. @pcharb did you manage to solve it?
Any news? It would be great if this problem will be resolved?
Any news? It would be great if this problem will be resolved?
We ended up using our own configuration entries to set it up. Seems it's only configurable through appsettings.json for now..
@brunis are you using this in core or framework? I'm using Umbraco and .Net Framework so I don't have a appsettings.json
When I try to use serilogs appconfig to set up my sinks email, the network credentials are not being used
Here is my config
I'm unable to find any documentation on what i,m doing wrong. The issue might be more of a documentation issue.