Email Articles

Sending Mail in .NET Using SmtpClient

The .NET SmtpClient class which is in the System.Net.Mail namespace enables the sending of mail through the ubiquitous Simple Mail Transfer Protocol (SMTP). To send a simple text-based mail, first instantiate an SmtpClient object, set its Host property to your SMTP server address, and finally call Send: SmtpClient clientObj = new SmtpClient(); clientObj.Host = “mail.myisp.net”; [...]

Read more

C# Email Utility

Introduction This useful C# .NET email utility configureseasily identifying the receiver, sender, message content and mailserver requiring minimal time for implementation. Creating the Workspace To start the Email Utility project, open aMicrosoft Visual Studio 2005, .NET Framework Version 2.0 developmentenvironment and create a Console Application. Add two C# classes, onecalled EmailHandler.cs and another called AppHandler.cs [...]

Read more

Sending email with C# using SMTP

In this article i’ll try to explain how we can send emails using SMTP servers. First of all, what is SMTP what is MTA,MUA, protocol? Let’s start talking about these subjects. Protocol? Protocol is a group of rules which is used by applications that communicate each other from network.? SMTP Simple Mail Transfer Protocol. Is [...]

Read more

How to NNTP in C#

This is the third in a series of articleson Internet programming with Microsoft's new C# programming language. In thefirst two articles, I wrote two simple TCP/IP classes for SMTP and POP3clients.? In this article, I'm going towrite a simple NNTP class. NNTP is an older fading protocol in theInternet protocol family. The protocol is used [...]

Read more

How To POP3 in C#

This is the second in a series ofarticles on Internet programming with Microsoft's new C# programming language.In the first article, I wrote a simple SMTP class. In this article, I'm going to write a simple POP3 class. The SMTPclass that I wrote was not very useful, except maybe as an exercise, as therealready exists a [...]

Read more

HowTo SMTP in C#

This series of articles is written toshow the user how to write TCP/IP based client applications using C# onMicrosoft's new dotNET framework. This is the firstarticle in this series. The first killer applications on theInternet were email and netnews. Email on theInternet was developed using two simple Internet protocols, SMTP and POP3. Thefirst two articles [...]

Read more

C# Mail Checker 1.0

Title: Mail Checker 1.0Author: Matt Watson Email: watsonm2@myrealbox.comEnvironment: C# WinXPKeywords: mail, IMAP, contextMenu, notifyIcon, Sockets, TimersLevel: IntermediateDescription: An article on creating a program to check your IMAP mail.The program will minimize in the system tray and will show the numberof new messages. This program is modeled after MSN Messenger. Introduction I love my MSN Messenger, [...]

Read more