Free Support Forum - aspose.com

Sending emails from different threads

Hi everyone

I use aspose.network 4.8.0.10.

I need to send emails from SmtpClient, ExchaneClient, and ExchangeWebServiceClient from multiple threads.

Do i need to have one instance of all these clients (smtp, exchange and exchangeWeb) or i can create as many instances as I need?

Thank you

Hi,

I think it is good to create a new instance for a new thread and Dispose the instance.

Thanks,