Delphi-Kylix
  Home arrow Delphi-Kylix arrow Building a Mailing List with Borland Delph...
IBM developerWorks
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  
Dedicated Servers  
Actuate Whitepapers 
Moblin 
IBM® developerWorks 
Sun Developer Network 
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: 5 stars5 stars5 stars5 stars5 stars / 2
    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

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    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]...
     

    DELPHI-KYLIX ARTICLES

    - Client Dataset: Working with Data Packets an...
    - Using the Client Dataset in an N-Tiered Appl...
    - Using the Client Dataset in Two-Tiered Clien...
    - Using the Client Dataset in File-Based Archi...
    - Demystifying the Client Dataset
    - Working with INI Files in Delphi
    - Creating Data Link (UDL) Files in Delphi
    - Looking at the Details for an Invoicing Appl...
    - Invoicing in Delphi: Show Me the Money
    - Saving Images and Binary Files to a Database...
    - Saving Files to a Database using Delphi: Sav...
    - Creating CF Applications and Integrating a S...
    - Using Try and Finally to Help Prevent Memory...
    - The Implementation of an FTP Server
    - FTP Server: The Theory







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway