Click here to Skip to main content
15,880,405 members
Articles / Programming Languages / C#

A POP3 Client in C# .NET

Rate me:
Please Sign up or sign in to vote.
4.80/5 (163 votes)
9 Feb 2004CPOL4 min read 1.8M   55.3K   334  
A POP3 client in C# .NET for reading and processing emails (including attachments).
using System;

namespace Pop3
{
	public class Pop3ConnectException : Exception
	{
		private string m_exceptionString;

		public Pop3ConnectException(): base()
		{
			m_exceptionString = null;
		}

		public Pop3ConnectException(string exceptionString): base()
		{
			m_exceptionString = exceptionString;
		}

		public Pop3ConnectException(string exceptionString,
			Exception ex) : base(exceptionString,ex)
		{
		}

		public override string ToString()
		{
			return m_exceptionString;
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Web Developer
United Kingdom United Kingdom
Des is a Technical Architect working for a private telecoms based company in the United Kingdom. He has been involved in programming for over 14 years and has worked on many platforms including UNIX, Linux and Windows.

Language specialities are C, C++, C#.NET, Java & J2EE and shell scripting (especially on UNIX/Linux). Also enjoys writing and optimising SQL scripts.

Des is engaged to a lovely girl called Lisa!

Comments and Discussions