serilog / serilog-sinks-email

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

Not able to target multiple email addresses #115

Closed mnagatos101 closed 1 year ago

mnagatos101 commented 1 year ago

Using the 2.4.0 package in a .Net6 console project. When I target a single email address, the email sends fine. When I provide multiple it does not send. It does not kick an exception or anything in the SelfLog.

I tried providing a semi-colon separated string to the toEmail property in the EmailConnection object. I tried providing an IEnumerable to the toEmails property of the Email logger. Neither works until I revert to a single address.

Please advise.

mnagatos101 commented 1 year ago

Yikes! Sorry. Turns out the send was working. It was just my mailbox that wasn't receiving.