1/ How to set the maximum number of threads in the MessagePool ?
2/ There is a wording problem with the name of the method "TotolSent" (should be "TotalSent").
3/ I have a list of eml files (list of byte[]) that I would like to send using SmtpClientBulkSendAgent but it takes only MailMessage or MailMessageCollection.
I would like to know why method AddMessages could not take raw data of eml messages directly or at least what the best way (and most performant way) to convert all my byte[] to MailMessageCollection.
You can use the second constructor of SmtpClientBulkSendAgent for this purpose that allows you to specify the concurrent threads. Please feel free to write back to us if you have any additional query/inquiry related to Aspose.Email. We’ll be glad to assist you further.
SmtpClientBulkSendAgent
agent = new SmtpClientBulkSendAgent(new SmtpClient, int concurrent);