Delphi-Kylix
  Home arrow Delphi-Kylix arrow Building a Mailing List with Borland Delph...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DELPHI-KYLIX

Building a Mailing List with Borland Delphi
By: Leidago
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 3
    2006-09-27

    Table of Contents:
  • Building a Mailing List with Borland Delphi
  • The Database
  • Building the GUI for the Application
  • How the program works
  • Status reports

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Building a Mailing List with Borland Delphi


    (Page 1 of 5 )

    Mailing lists can be useful for a variety of purposes. If you have a newsletter that you use to communicate with your customers, chances are you use a mailing list. This article, the first of two parts, will show you how to build a mailing list application.
    A downloadable file for this article is available here.

    Introduction

    A mailing list is basically a compilation of names and address, in particular email addresses, that is either stored in a database or bought from some specialist company. It is usually organized around a interest shared by a group of people. For example, if you own a magazine, have subscribers, and want to let the subscribers know about the latest topics, then a mailing list is the way to do it. Spammers use mailing list to sent advertisements about products for their clients (it is highly recommended that you don't do this!).

    A mailing list gives you the ability to sent one email to many people at the same time. In our mailing list application we will be able to divide a bunch of email addresses in groups and then sent email messages with attachments to each address in the group.

    The Application

    The mailing list application must do the following:

    • Send one email message to many users simultaneously.
    • Create groups of email addresses for those that share the same interest.
    • Show status reports when sending email messages.
    • Add and remove addresses

    I will be using Borland Delphi's indy components to create the code that will send the email messages, as they are currently well-suited to the task. And I will use an MS Access database to store the email addresses. If you are going to have a couple hundred email addresses, then it is okay to use a small database like MS Access; if it is going to be any bigger, then you should consider using a database server like MS SQL or MySQL, as MS Access will not be able to cope.

    MySQL is a free database server and is also very good. At some point I will be writing an article about how to use MySQL with Delphi, which will be helpful to this end. MS SQL is not free; in fact it's quite pricey. So I leave it up to you to decide which you'll use, when deciding how big your mailing list storage requirements are likely to be.

    More Delphi-Kylix Articles
    More By Leidago


       · I have tested the sample code included, with Delphi 6 and 7 and it worked fine. If...
       · Hi, i tried the download file but i get the following error: [Fatal Error]...
       · Thanks for the code but as a Delphi programmer it is a disgrace how this is...
     

    DELPHI-KYLIX ARTICLES

    - Loading an XML Document into the DOM
    - Delphi Wrapper Classes and XML
    - Delphi and the DOM
    - Delphi and XML
    - Internet Access: Client Service
    - Finishing the Client for an Internet Access ...
    - The Client for an Internet Access Control Ap...
    - User Management for an Internet Access Contr...
    - Important Procedures for an Internet Access ...
    - Server Code for an Internet Access Control A...
    - Constructing the Interface for an Internet A...
    - Building a Server Application for an Interne...
    - Building an Internet Access Control Applicat...
    - Client Dataset: Working with Data Packets an...
    - Using the Client Dataset in an N-Tiered Appl...







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek