N
niclas
Hi
I've this small application I've built which loops thru our database
and generates 30000 mails and sends them using System.Net.SmtpClient,
but it's not working very well. At times it won't send for a couple of
minutes, all in all it takes about 48 hours for all the mails to be
sent. Our mail provider says it's because the mail server can only
handle 10 connections simultaneuosly and that would be the reason why
it halts. I've looked over the SmtpClient class but can't find any
property to set max amount of connections. Does this problem sound
familiar? Could that be the reason? If so, is it possible to set the
max amount of simultaneous connections from the smtpclient to the
mailserver?
Thanks for any help,
Niclas
I've this small application I've built which loops thru our database
and generates 30000 mails and sends them using System.Net.SmtpClient,
but it's not working very well. At times it won't send for a couple of
minutes, all in all it takes about 48 hours for all the mails to be
sent. Our mail provider says it's because the mail server can only
handle 10 connections simultaneuosly and that would be the reason why
it halts. I've looked over the SmtpClient class but can't find any
property to set max amount of connections. Does this problem sound
familiar? Could that be the reason? If so, is it possible to set the
max amount of simultaneous connections from the smtpclient to the
mailserver?
Thanks for any help,
Niclas