Topic: How to Send an email using ASP.Net and C#.Net (Gmail Service)
Solution: Sending e-mails with ASP.NET is very simple and straight forward. Microsoft .NET framework comes with an entire namespace for handling e-mails, - System.Net.Mail namespace. In the following examples, we will use two classes from this namespace: MailMessage class for the actual e-mail, and the SmtpClient class, for SMTP server.C# .Net is very powerfull programming language. To send an email we require a SMTP server.There are few companies who provides SMTP server for free of cost like gmail. Here we will use SMTP of the gmail as it is free of cost.

No comments:

Post a Comment