Tag Archives: Send email through gmail smtp server using C# sample

Send email through gmail smtp server, smtp.gmail.com, using C# – sample

Gmail is providing free smtp server so does yahoo. The sample below is using gmail.   using System.Net.Mail; using System.Net;   namespace ConAppNetMail {   class Program   {     static void Main(string[] args)     {       MailMessage newMessage = newMailMessage();       … Continue reading

Posted in .Net | Tagged | Leave a comment