Click here to Skip to main content
15,868,164 members
Articles / Programming Languages / C#
Article

Quick Mail

Rate me:
Please Sign up or sign in to vote.
2.96/5 (24 votes)
7 Apr 2003CPOL1 min read 175K   2K   40   46
Easy way to send mails using SMTP, in .NET.

Sample Image - MainQuickMail.jpg

Introduction

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.

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 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 www.mohamedashraf.tk

Comments and Discussions

 
Generalabout the java mailing Pin
ananthram22-Feb-08 5:37
ananthram22-Feb-08 5:37 
GeneralRe: about the java mailing Pin
Ashraf Mohamed8-Mar-10 16:58
Ashraf Mohamed8-Mar-10 16:58 
Generalsend e-mail of datagrid data Pin
Sandeep Prajapati11-Mar-07 22:07
Sandeep Prajapati11-Mar-07 22:07 
Hello.....

thnax a lot....

i want to mail my data from grid which ever row is selected .........

as of now can mail... and also select data from grid.......

but i can't mail the selected data........

thanx

please help


" Problem is distance between reallity and axpectation"

GeneralRe: send e-mail of datagrid data Pin
Ashraf Mohamed12-Mar-07 18:04
Ashraf Mohamed12-Mar-07 18:04 
GeneralHelp me :( Pin
mkguruprasad7-Mar-07 16:08
mkguruprasad7-Mar-07 16:08 
GeneralRe: Help me :( Pin
Ashraf Mohamed8-Mar-07 4:51
Ashraf Mohamed8-Mar-07 4:51 
GeneralRe: Help me :( Pin
mkguruprasad14-Mar-07 2:30
mkguruprasad14-Mar-07 2:30 
GeneralHelppppp Pin
mkguruprasad21-Feb-07 6:28
mkguruprasad21-Feb-07 6:28 
GeneralRe: Helppppp Pin
Ashraf Mohamed22-Feb-07 2:17
Ashraf Mohamed22-Feb-07 2:17 
GeneralQuick Mail is a nice program Pin
marney226-May-06 4:49
marney226-May-06 4:49 
GeneralRe: Quick Mail is a nice program Pin
Ashraf Mohamed26-May-06 18:10
Ashraf Mohamed26-May-06 18:10 
GeneralFrom Box on Quick Mail Program Pin
marney226-May-06 4:45
marney226-May-06 4:45 
GeneralRe: From Box on Quick Mail Program Pin
Ashraf Mohamed26-May-06 18:10
Ashraf Mohamed26-May-06 18:10 
Generalsmtp setting on the Quick Mail Pin
marney226-May-06 4:43
marney226-May-06 4:43 
GeneralRe: smtp setting on the Quick Mail Pin
Ashraf Mohamed26-May-06 18:09
Ashraf Mohamed26-May-06 18:09 
Questionrich text? Pin
rioman2-Feb-06 1:48
rioman2-Feb-06 1:48 
GeneralDigital Signature + Mail Pin
capitan_cavernicola16-Jan-06 22:27
capitan_cavernicola16-Jan-06 22:27 
GeneralRe: Digital Signature + Mail Pin
Ashraf Mohamed19-Jan-06 4:28
Ashraf Mohamed19-Jan-06 4:28 
GeneralRe: Digital Signature + Mail Pin
capitan_cavernicola19-Jan-06 6:02
capitan_cavernicola19-Jan-06 6:02 
AnswerRe: Digital Signature + Mail Pin
Miguel_b29-Aug-06 0:49
Miguel_b29-Aug-06 0:49 
GeneralRe: Digital Signature + Mail Pin
capitan_cavernicola27-Sep-06 9:47
capitan_cavernicola27-Sep-06 9:47 
GeneralRegarding Automatic mailing System using Java Pin
nsk12_ns0318-Oct-05 1:37
sussnsk12_ns0318-Oct-05 1:37 
GeneralRe: Regarding Automatic mailing System using Java Pin
Ashraf Mohamed18-Oct-05 6:15
Ashraf Mohamed18-Oct-05 6:15 
Questionwhat if the smtp server needs authentication? Pin
yigitatli26-Aug-03 16:29
yigitatli26-Aug-03 16:29 
GeneralI got a CDO.Message Problem Pin
turqila8-Jun-03 19:23
turqila8-Jun-03 19: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.