Click here to Skip to main content
15,868,141 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

 
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 
GeneralRe: I got a CDO.Message Problem Pin
Ashraf Mohamed10-Jun-03 19:24
Ashraf Mohamed10-Jun-03 19:24 
GeneralRe: I got a CDO.Message Problem Pin
bestsoft23-Aug-05 16:36
bestsoft23-Aug-05 16:36 
I got this error yet, I have set smtpServer(not localhost) correctly. but it still report me this error.

jerry
GeneralRe: I got a CDO.Message Problem Pin
Ashraf Mohamed26-Aug-05 7:04
Ashraf Mohamed26-Aug-05 7:04 
Questionthanx and Q..? Pin
Mahmoud Nasr25-Apr-03 22:22
Mahmoud Nasr25-Apr-03 22:22 
AnswerRe: thanx and Q..? Pin
Ashraf Mohamed26-Apr-03 21:39
Ashraf Mohamed26-Apr-03 21:39 
QuestionPlz can u help me with that ..? Pin
Mahmoud Nasr19-Apr-03 14:10
Mahmoud Nasr19-Apr-03 14:10 
AnswerRe: Plz can u help me with that ..? Pin
Ashraf Mohamed20-Apr-03 18:25
Ashraf Mohamed20-Apr-03 18:25 
GeneralA little advertisements ;) Pin
Quentin Pouplard11-Apr-03 5:09
Quentin Pouplard11-Apr-03 5:09 
GeneralRe: A little advertisements ;) Pin
Ashraf Mohamed14-Apr-03 1:44
Ashraf Mohamed14-Apr-03 1:44 
QuestionHow to ... Pin
Sassan Komeili Zadeh9-Apr-03 0:06
Sassan Komeili Zadeh9-Apr-03 0:06 
AnswerSetting up smtp server Pin
Ashraf Mohamed9-Apr-03 18:19
Ashraf Mohamed9-Apr-03 18:19 
GeneralRe: Setting up smtp server Pin
Anonymous9-Apr-03 19:44
Anonymous9-Apr-03 19:44 
GeneralRe: Setting up smtp server Pin
Ashraf Mohamed9-Apr-03 22:49
Ashraf Mohamed9-Apr-03 22:49 
AnswerRe: How to ... Pin
Radoslav Bielik14-Apr-03 3:31
Radoslav Bielik14-Apr-03 3:31 
GeneralRe: How to ... Pin
Ashraf Mohamed15-Apr-03 4:23
Ashraf Mohamed15-Apr-03 4:23 
GeneralPOP Pin
noushadkc8-Apr-03 23:01
noushadkc8-Apr-03 23:01 
GeneralThanks - a very practical Pin
jhaga8-Apr-03 10:27
professionaljhaga8-Apr-03 10:27 
GeneralYou put some work into this... Pin
Marc Clifton8-Apr-03 10:12
mvaMarc Clifton8-Apr-03 10:12 
GeneralOK... Pin
Steve McLenithan8-Apr-03 8:43
Steve McLenithan8-Apr-03 8:43 

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.