Geeks With Blogs

Sal Sparacio's Blog .NET | c# | Computer Games | Windows Mobile | Solo IT / Programmer
I saw this post from Andreas Kraus and he explained how to use c# ( 2.0 ) to send email with Gmail::

Here is the code:

// Smtp configuration
SmtpClient smtp = new SmtpClient();
smtp.Host = “”;

smtp.Credentials = new System.Net.NetworkCredential(”xx”, “xx”);
smtp.EnableSsl = true;

Read this post for more information.

-- Sal

Posted on Friday, March 9, 2007 8:48 AM | Back to top

Comments on this post: Send Email via Gmail with ASP.NET 2.0

# re: Send Email via Gmail with ASP.NET 2.0
Requesting Gravatar...
Hi Sal,

Nice blog.. I've been using gmail in my ASP.NET web apps for a while now, it really replaces the need for a host server.

I went ahead and summerized my experience with it, and thought I'd share it with your readers. Here is the link:

Left by Yousef on Apr 08, 2007 8:42 PM

Your comment:
 (will show your gravatar)

Copyright © Sal Sparacio | Powered by: