Click here to Skip to main content
12,248,742 members (36,396 online)
Click here to Skip to main content
Articles » Languages » C# » General » Alternatives
Add your own
alternative version

Tagged as

Stats

16.5K 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...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

27 Feb 2012
N8tiv
1 alternative  
Simple SMTP E-Mail Sender in C#… Console application

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

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