Click here to Skip to main content
11,927,006 members (48,789 online)
Click here to Skip to main content
Add your own
alternative version


41 bookmarked

Quick Mail

, 7 Apr 2003 CPOL
Rate this:
Please Sign up or sign in to vote.
Easy way to send mails using SMTP, in .NET.

Sample Image - MainQuickMail.jpg


Quick Mail is a simple way to send mail using SMTP, in .NET. Moreover, my article will provide the usage of DataGrid, XML manipulation and tab control.

Brief Description

QuickMail is a utility that you can use to send mails easily. The most common use is to add, edit and delete groups, and users based on groups.

It provides a facility to frame a mail in HTML and rich text formats. Not only mails, it supports adding attachments with mail. Provided, you have to specify the SMTP server name.

Here, you can create a group and create username based on group. You can easily edit, delete usernames and group information. Here, I have developed "Add Recipient" form like Outlook and "Set Font Properties" form like Windows.

Mainly, you can send the mail here with HTML and text options. You can attach any file with your mail. Provided, you have to specify the SMTP server name here. If SMTP server is running in your machine, you can refer "localhost". Otherwise, give proper SMTP server name which you are using.

Here, I have not used any database for storing your group and user name information. I have used XML. So, it's easy to use.

Using the code

Source code is free for anyone.


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


About the Author

Ashraf Mohamed
Web Developer
United States United States
I am a system analyst and have been with Microsoft & Sun Technologies for more than 7 years. I have always been fascinated by java and .NET. I take lot of technical articles and writing them.

I am a Sun Certified Java Programmer for Java 2 Platform 1.4 , Web component developer Java 2 Platform - Enterprise Edition 1.4 and Microsoft certified developer using C#.NET in Web Development ASP.NET.

Visit my web site

You may also be interested in...

Comments and Discussions

Generalabout the java mailing Pin
ananthram22-Feb-08 6:37
memberananthram22-Feb-08 6:37 
GeneralRe: about the java mailing Pin
Ashraf Mohamed8-Mar-10 17:58
memberAshraf Mohamed8-Mar-10 17:58 
Generalsend e-mail of datagrid data Pin
Sandy Bhaarat11-Mar-07 23:07
memberSandy Bhaarat11-Mar-07 23:07 
GeneralRe: send e-mail of datagrid data Pin
Mohamed Ashraf12-Mar-07 19:04
memberMohamed Ashraf12-Mar-07 19:04 
GeneralHelp me :( Pin
mkguruprasad7-Mar-07 17:08
membermkguruprasad7-Mar-07 17:08 
GeneralRe: Help me :( Pin
Mohamed Ashraf8-Mar-07 5:51
memberMohamed Ashraf8-Mar-07 5:51 
GeneralRe: Help me :( Pin
mkguruprasad14-Mar-07 3:30
membermkguruprasad14-Mar-07 3:30 
GeneralHelppppp Pin
mkguruprasad21-Feb-07 7:28
membermkguruprasad21-Feb-07 7:28 
GeneralRe: Helppppp Pin
Mohamed Ashraf22-Feb-07 3:17
memberMohamed Ashraf22-Feb-07 3:17 

The error is clearly telling that the argument is not sufficient for one of the method. Please check. It's asking path name.

-Ashraf Mohamed


GeneralQuick Mail is a nice program Pin
marney226-May-06 5:49
membermarney226-May-06 5:49 
GeneralRe: Quick Mail is a nice program Pin
Mohamed Ashraf26-May-06 19:10
memberMohamed Ashraf26-May-06 19:10 
GeneralFrom Box on Quick Mail Program Pin
marney226-May-06 5:45
membermarney226-May-06 5:45 
GeneralRe: From Box on Quick Mail Program Pin
Mohamed Ashraf26-May-06 19:10
memberMohamed Ashraf26-May-06 19:10 
Generalsmtp setting on the Quick Mail Pin
marney226-May-06 5:43
membermarney226-May-06 5:43 
GeneralRe: smtp setting on the Quick Mail Pin
Mohamed Ashraf26-May-06 19:09
memberMohamed Ashraf26-May-06 19:09 
Questionrich text? Pin
rioman2-Feb-06 2:48
memberrioman2-Feb-06 2:48 
GeneralDigital Signature + Mail Pin
superdelo16-Jan-06 23:27
membersuperdelo16-Jan-06 23:27 
GeneralRe: Digital Signature + Mail Pin
Mohamed Ashraf19-Jan-06 5:28
memberMohamed Ashraf19-Jan-06 5:28 
GeneralRe: Digital Signature + Mail Pin
superdelo19-Jan-06 7:02
membersuperdelo19-Jan-06 7:02 
AnswerRe: Digital Signature + Mail Pin
Miguel_b29-Aug-06 1:49
memberMiguel_b29-Aug-06 1:49 
GeneralRe: Digital Signature + Mail Pin
superdelo27-Sep-06 10:47
membersuperdelo27-Sep-06 10:47 
GeneralRegarding Automatic mailing System using Java Pin
nsk12_ns0318-Oct-05 2:37
sussnsk12_ns0318-Oct-05 2:37 
GeneralRe: Regarding Automatic mailing System using Java Pin
Mohamed Ashraf18-Oct-05 7:15
memberMohamed Ashraf18-Oct-05 7:15 
Questionwhat if the smtp server needs authentication? Pin
yigitatli26-Aug-03 17:29
memberyigitatli26-Aug-03 17:29 
GeneralI got a CDO.Message Problem Pin
turqila8-Jun-03 20:23
memberturqila8-Jun-03 20:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.151126.1 | Last Updated 8 Apr 2003
Article Copyright 2003 by Ashraf Mohamed
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid