1) How to know that the Bulkmail Sending is completed??
‘smtpClient.BulkSendCompleted’ event is not working for me…
2) Is there is any option to control the speed of Mail Delivery for eg: Setting time between each messages etc
3) In ‘SmtpClientBulkSendAgent(Client smtpClient,int Concurrent)’ Method, what is Cocncurrent. Is it no of mails sending concurently .? If yes, Maximum how many messages we can send Concurrently ?
If you want to wait until the BulkSend Agent finish its work, you can call WaitForIdle funtion. It will wait until the all of the message are sent.
SmtpClientBulkSentAgent.WaitForIdle
I have also added an event naming "LastMessageSending", which occurs when the last mail message in the MessagePool is being sending. It is close to the bulksend completed.
SmptClientBulkSentAgent.LastMessageSending
2)
I added the DeliveryInterval, which can use to set the time between sending each messages.
SmtpClientBulkSentAgent.DeliveryInterval
3)
The concurrrenct is the number that running in the BulkSendAgent thread pool. No maximum for it. But I suggest you not to set it too large.
Please check the latest hot fix in the attachment.
currently i use version 5.1, i can not finding DnsMailClient class , i want to use this class to sending mail directly(pass through SMTP server use MX record).