I know I haven't posted much code on this blog, but this snippet I found valuable.
While I can certainly host my SMTP server, it would be so much easier if I could just Google's (since I am using Google Apps for my site's email). Below is the code you can use to send email's via Google's SMTP server. enjoy...
C#
string GmailUserName="myusername@gmail.com";
string GmailPassword="mypassword";
string SendTo="sendto@gmail.com";
string EmailSubject="Test Subject";
s...
[More]