Delphi-Kylix
  Home arrow Delphi-Kylix arrow Page 2 - Creating a POP3 Server
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  
Moblin 
JMSL Numerical Library 
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

Creating a POP3 Server
By: Leidago
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 13
    2006-04-26

    Table of Contents:
  • Creating a POP3 Server
  • Setting the database connections
  • Implementing the Commands
  • Implementing the Commands, continued
  • Conclusion

  • 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


    Creating a POP3 Server - Setting the database connections


    (Page 2 of 5 )

    Click on adoconnection1 and go to the object inspector's properties tab. Click on the ellipses button next to the ConnectionString property. A dialog box should pop up (see below).

     

     

    Make sure that "Use Connection String" is selected and click on build. Another dialog box should pop up (see below):

    Select the "Microsoft.Jet.OLEDB.4.0" option and click next. A dialog box like the one below should appear:

    The only thing you change on this dialog box is question number 1. Click on the ellipses button and go to where you've downloaded the database that I've included in this tutorial. DO NOT CHANGE ANYTHING ELSE ON THIS DIALOG BOX!!

    Click OK and OK again. On adoconnection1's properties tab, go to "loginPrompt"  and select "False." That's it!

    Next, click on ado1's "connection" property in the object inspector and select "ADOConnection1." Do the same for q2 and we are done with the database set up!

    Optional  

    1. Create a text file. Give it any name you like.

    2. Click on logfile then go to the object inspector's "FileName" property. Point to the location of a textfile that you've created.

    The reason for doing this is so that you can see the communication between the pop3client and your pop3 server. Also it makes it easy for you to debug.

    More Delphi-Kylix Articles
    More By Leidago


       · Is a good article. POP3 protocol is well explained. Why do not insert the entire...
       · The sample code included at the very beginning of the article contains all the code...
       · Can u help me on how can I creat a log on all message usinng POP3.
       · Not sure if you noticed but in the source code for this app there is a component...
     

    DELPHI-KYLIX ARTICLES

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







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