We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

.NET Core 3.1 + Apose.Email SMTP log


How can I enable SMTP client activity logging in a .NET Core 3.1 project?
I tried to set Aspose.Email.Properties.Settings.SmtpDiagnosticLog in the appsettings.json but didn’t work for me.

Thank you,


I have observed the issue shared by you and request you to please share the sample project reproducing the issue on your end.

I attached a sample project. I don’t know how to enable the log in the appsettings.json file.
AsposeEmailSmtpLogTest.zip (1.7 KB)


I have observed the issue shared and a ticket with ID EMAILNET-39771 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.


We have investigated the requirement on our end. At present, Aspose.Email for .NET Core does not support logging. We will investigate how to provide this feature. We will share the good news with you as soon as the issue will be addressed.

The issues you have found earlier (filed as EMAILNET-39771) have been fixed in this update.