Click here to Skip to main content
11,409,532 members (50,336 online)
Click here to Skip to main content

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

Comments and Discussions

Generalabout the java mailing Pinmemberananthram22-Feb-08 6:37 
GeneralRe: about the java mailing PinmemberAshraf Mohamed8-Mar-10 17:58 
Generalsend e-mail of datagrid data PinmemberSandy Bhaarat11-Mar-07 23:07 
GeneralRe: send e-mail of datagrid data PinmemberMohamed Ashraf12-Mar-07 19:04 
GeneralHelp me :( Pinmembermkguruprasad7-Mar-07 17:08 
GeneralRe: Help me :( PinmemberMohamed Ashraf8-Mar-07 5:51 
GeneralRe: Help me :( Pinmembermkguruprasad14-Mar-07 3:30 
GeneralHelppppp Pinmembermkguruprasad21-Feb-07 7:28 
GeneralRe: Helppppp PinmemberMohamed Ashraf22-Feb-07 3:17 
GeneralQuick Mail is a nice program Pinmembermarney226-May-06 5:49 
GeneralRe: Quick Mail is a nice program PinmemberMohamed Ashraf26-May-06 19:10 
GeneralFrom Box on Quick Mail Program Pinmembermarney226-May-06 5:45 
GeneralRe: From Box on Quick Mail Program PinmemberMohamed Ashraf26-May-06 19:10 
Generalsmtp setting on the Quick Mail Pinmembermarney226-May-06 5:43 
GeneralRe: smtp setting on the Quick Mail PinmemberMohamed Ashraf26-May-06 19:09 
Questionrich text? Pinmemberrioman2-Feb-06 2:48 
GeneralDigital Signature + Mail Pinmembersuperdelo16-Jan-06 23:27 
GeneralRe: Digital Signature + Mail PinmemberMohamed Ashraf19-Jan-06 5:28 
GeneralRe: Digital Signature + Mail Pinmembersuperdelo19-Jan-06 7:02 
AnswerRe: Digital Signature + Mail PinmemberMiguel_b29-Aug-06 1:49 
GeneralRe: Digital Signature + Mail Pinmembersuperdelo27-Sep-06 10:47 
GeneralRegarding Automatic mailing System using Java Pinsussnsk12_ns0318-Oct-05 2:37 
GeneralRe: Regarding Automatic mailing System using Java PinmemberMohamed Ashraf18-Oct-05 7:15 
Questionwhat if the smtp server needs authentication? Pinmemberyigitatli26-Aug-03 17:29 
GeneralI got a CDO.Message Problem Pinmemberturqila8-Jun-03 20:23 
GeneralRe: I got a CDO.Message Problem PinmemberMohamed Ashraf10-Jun-03 20:24 
GeneralRe: I got a CDO.Message Problem Pinmemberbestsoft23-Aug-05 17:36 
GeneralRe: I got a CDO.Message Problem PinmemberMohamed Ashraf26-Aug-05 8:04 
Questionthanx and Q..? PinmemberMahmoud Nasr25-Apr-03 23:22 
AnswerRe: thanx and Q..? PinmemberMohamed Ashraf26-Apr-03 22:39 
QuestionPlz can u help me with that ..? Pinmembercloudnum_919-Apr-03 15:10 
AnswerRe: Plz can u help me with that ..? PinmemberMohamed Ashraf20-Apr-03 19:25 
GeneralA little advertisements ;) PinmemberQuentin Pouplard11-Apr-03 6:09 
GeneralRe: A little advertisements ;) PinmemberMohamed Ashraf14-Apr-03 2:44 
QuestionHow to ... PinmemberSassan Komeili Zadeh9-Apr-03 1:06 
AnswerSetting up smtp server PinmemberMohamed Ashraf9-Apr-03 19:19 
GeneralRe: Setting up smtp server PinsussAnonymous9-Apr-03 20:44 
GeneralRe: Setting up smtp server PinmemberMohamed Ashraf9-Apr-03 23:49 
AnswerRe: How to ... Pinmemberrado14-Apr-03 4:31 
GeneralRe: How to ... PinmemberMohamed Ashraf15-Apr-03 5:23 
Thanks for your info..It's useful..

Thanks & Regards,
Mohamed Ashraf

GeneralPOP Pinmembernoushadkc9-Apr-03 0:01 
GeneralThanks - a very practical Pinmemberjhaga8-Apr-03 11:27 
GeneralYou put some work into this... PinmemberMarc Clifton8-Apr-03 11:12 
GeneralOK... PinmemberSteve McLenithan8-Apr-03 9:43 
GeneralRe: OK... PinmemberMohamed Ashraf9-Apr-03 19:27 
GeneralRe: OK... PinmemberSteve McLenithan9-Apr-03 19:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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.150414.5 | Last Updated 8 Apr 2003
Article Copyright 2003 by Ashraf Mohamed
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid