Log4net - SmtpAppender - Sending the mail

  • 13 years ago

    I have finally managed to send mail with my windows service in VB.net. Now I have another problem challenge the whole solution. If I have 3 errors, 3 mails will be sent _only_ when I stop the service manual. Same thing happens with ordinary windows applications. The mail sends when I close the application.

    I have tried to find a solution at log4nets homesite with no success.

    Any ideas or solutions?

  • 13 years ago
    I think the problem is in your service if you dont paste the code I think you are nor going to get any help.
  • 13 years ago
    Solution: Some times it takes longer to send mail. Don't now why, if the GC matters in some way. But now I recive mail when error.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Perl - The only language that looks the same before and after RSA encryption.” - Keith Bostic