Click here to Skip to main content
Click here to Skip to main content

Quick Mail

, 7 Apr 2003
Rate this:
Please Sign up or sign in to vote.
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)

Share

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

Comments and Discussions

 
AnswerSetting up smtp server PinmemberMohamed Ashraf9-Apr-03 18:19 
GeneralRe: Setting up smtp server PinsussAnonymous9-Apr-03 19:44 
GeneralRe: Setting up smtp server PinmemberMohamed Ashraf9-Apr-03 22:49 
AnswerRe: How to ... Pinmemberrado14-Apr-03 3:31 
GeneralRe: How to ... PinmemberMohamed Ashraf15-Apr-03 4:23 
GeneralPOP Pinmembernoushadkc8-Apr-03 23:01 
GeneralThanks - a very practical Pinmemberjhaga8-Apr-03 10:27 
GeneralYou put some work into this... PinmemberMarc Clifton8-Apr-03 10:12 
and I think the program would be a great tutorial for those (like me) wanting a bare-bones demonstration of email in C#, but you really need to work on the article content.
 
What about receiving email? It would be nice if that tab existed. Would round out the program.
 
Marc
 
Help! I'm an AI running around in someone's f*cked up universe simulator.
Sensitivity and ethnic diversity means celebrating difference, not hiding from it. - Christian Graus
Every line of code is a liability - Taka Muraoka
Microsoft deliberately adds arbitrary layers of complexity to make it difficult to deliver Windows features on non-Windows platforms--Microsoft's "Halloween files"

GeneralOK... PinmemberSteve McLenithan8-Apr-03 8:43 
GeneralRe: OK... PinmemberMohamed Ashraf9-Apr-03 18:27 
GeneralRe: OK... PinmemberSteve McLenithan9-Apr-03 18: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 | Mobile
Web04 | 2.8.140827.1 | Last Updated 8 Apr 2003
Article Copyright 2003 by Ashraf Mohamed
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid