Sending lots of mails using SmtpClient (C#) takes very long after a while
- by Lieven Cardoen
I'm using this piece of code to send a mail:
SmtpClient client = new SmtpClient();
client.Host = smtpServer;
client.Send(mailMessage);
If I trigger this code ten times/second, then after some hundred mails, sending a mail takes 10 seconds... Could there be a queue involved here?