Thanks for the contribution.
Does the mail target work properly? What happens when multiple lines are sent seqentially?
Does it generate all seperate mails?
Encoding would have no impact on the questions you asked.
However the answers to your questions.....
> Does the mail target work properly?
It sends email.
As for 'properly'....
1. See below
2. As I understand it MS API caches SMTP connections. If a server bounces the cache is no good. Or if a firewall drops the connection due to inactivity it is no good. Thus a send can fail because of that. A single retry could fix that. I will be testing that explicitly later.
> What happens when multiple lines are sent seqentially? Does it generate all seperate mails?
As coded the target can end up sending multiple postings in a single email. That seems odd to me.
Whether that happens or not probably depends on how quickly the posts are sent and if wrappers are used like the AsyncWrapper. Conversely EventLog doesn't do that. The only targets that do that are File/MessageBox and those would seem to me to be candidates for that.
Note that multiple events are appended to each other explicitly using "\n". That seems odd. Although I suppose that could be a SMTP standard.