Delphi-Kylix
  Home arrow Delphi-Kylix arrow Creating an Email Client with Borland Delp...
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

Creating an Email Client with Borland Delphi: conclusion
By: Jacques Noah
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 8
    2005-10-25

    Table of Contents:
  • Creating an Email Client with Borland Delphi: conclusion
  • What is POP3?
  • Code
  • Deleting a message

  • 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 an Email Client with Borland Delphi: conclusion


    (Page 1 of 4 )

    In this follow up to "Creating an Email Client with Borland Delphi," we look at how to download and read messages from an email server. By the end of this article, you will have a fully functional Mail Client.
    A downloadable zip of the source code is available here.

    Introduction

    This is a follow up to my previous article, "Creating an Email Client with Borland Delphi." In that article we focused mainly on sending email messages and ensuring that the message arrives at the intended person's email address. We did this by using the idsmtp and tidmessage components. TidMessage deals with the actual message parts (where the message goes, the subject, who it is from, and so on)  and the idsmtp communicates with the recipients' smtp server -- in other words, it sends the message. In this installment we are going to look at how to download and read messages from an Email Server. What I'm going to do is to use the code of the application that I created in the previous tutorial (code to send email messages) and combine it with this one. This will give us a fully functional Mail Client.

    The overall aim of this series of tutorials is to show how easy it is to use Indy10 components with Delphi, as there are virtually no examples on the Internet of how to use it.

    Requirements for this Application:

    • We want the application to download messages.
    • We want it to be able to read and reply to messages.
    • We want to be able to delete messages from the server.

    What you need

    You need to have Indy 9 or 10 installed. If you have Delphi 6 and above, then you can skip this section; otherwise go to www.indyproject.org and download the version appropriate to your Delphi version. I am using Delphi 7 and Indy 10.0.52. There are proper guides on how to install Indy on your computer.

    Second, I'm writing this tutorial on the assumption that you know how to use Delphi. If this is not the case then I would recommend you go to http://delphi.about.com for a beginner's course, before continuing.

    Third, you need to have a pop3 account. You usually get this from your ISP or hosting company.

    Let's get started!

    More Delphi-Kylix Articles
    More By Jacques Noah


       · For thos of you who want to know more about how to use Delphi and MS Access go to...
     

    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-2010 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek