Home arrow Delphi-Kylix arrow Page 2 - Creating a POP3 Server
DELPHI-KYLIX

Creating a POP3 Server


A POP3 server is a protocol that follows the RFC 1939 specification. It responds to a set of commands issued by a pop3 client. A POP3 Server is basically a go between, between a pop3 Client and a mail server.  In this article, we will create the code to respond to those commands issued by a pop3 client such as Microsoft Outlook or Eudora.

Author Info:
By: Leidago
Rating: 5 stars5 stars5 stars5 stars5 stars / 16
April 26, 2006
TABLE OF CONTENTS:
  1. · Creating a POP3 Server
  2. · Setting the database connections
  3. · Implementing the Commands
  4. · Implementing the Commands, continued
  5. · Conclusion

See Also:
print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

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.


blog comments powered by Disqus
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...

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 4 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials