How can I send email using Gmail SMTP in asp.net mvc application?
问题 I want to send one mail to user whenever he/she register at my website. I have created my gmail account for that, I've tried many samples from net but i'm not able to sent email yet. Please help me in this regard. Thanks, vicky 回答1: I found a very good article on a website https://askgif.com about using Gmail SMTP with C#, so am sharing with you : https://askgif.com/blog/122/seding-email-using-gmail-smtp-in-asp-net-mvc-application/ Create Gmail Class comprises of all needed data type and