Click here to Skip to main content
12,297,706 members (22,674 online)
Click here to Skip to main content
Articles » Languages » C# » General » Statistics

Tagged as

Stats

16.8K views
10 bookmarked
Posted

Simple SMTP E-Mail Sender in C#… Console application

, 19 Dec 2011 CPOL
I'm not sure that GC would matter very much in such a simple app.But, it's either a call to Dispose on your SmtpClient after you're done using it:smtp.Dispose();or use a using:using (SmtpClient smtp = new SmtpClient{ Host = "smtp.gmail.com", Port = 587, Credentials = new...

Views

Downloads

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Robert S Sharp
United States United States
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160525.2 | Last Updated 19 Dec 2011
Article Copyright 2011 by Robert S Sharp
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid