Tag Archives: NetworkCredential

Send email using C#

Sending emails using C# is fairly easy. You require the host or the IP of an SMTP server that the email will be send through and a username/password if that server requires credentials.

For this example I will be providing a way to send emails using the Gmail SMTP server.