How To Send Mail With Attachments

I write the above article to send an email with attachments. And Above code works on Frerame work And also Work on Asp.Net Core FrameWork And You can see In the video I get my Email Credential from the AssConfig.js file for privacy issue so please appreciate and thanks

Use Dependency Injection In Static Class With .Net Core

We may face circumstances where we want to resolve a dependency inside a static class, but with the static class, we are restricted to a static constructor which is not supported for the .NET core to work for Constructor Injection. So, today we will see how we can handle these kinds of operations, so we can achieve Dependency Injection with static classes in .NET Core.


Select Categories