How to send email from my Asp.net c# website from my domain email id with attachment.
//Solution
...Hi, I'm using visual studio code to develop a web site using asp.net core 2. when I debug the project the default page is set as : https://localhost:xxxx
I want to set my page : "Account/Login" as my website's default page .
means when I debug the project the first screen should appear will this : https://localhost:xxxx/Account/Login
how can I do that?
Thanks
...I am trying to send email in ASP.NET MVC, but it is not a plain HTML string, I need to convert Razor View with Model into string and then send it as a HTML content in MVC. So, How can I convert Razor view in HTML string with Model and then send it in MVC email? Thanks
...