Delphi - Knowledge Base Home  About Us  .Net  Solutions  Microsoft  Extras  Contact Us  Freeware  

Topics

Our Delphi article links are shown below. Simply click a link to get started..
 
Delphi Home
Link to this page



Popular Articles

1. Registry walk through & best practice

2. Using the Microsoft Word COM interface

3. Using the Microsoft Excel COM interface

4. Creating & Using Lookup Forms in Delphi

5. Using encryption in your applications

6. Creating and using splash screens in Delphi

7. Using Dev Express to mimic .NET & XP Styles

8. Using the Microsoft Outlook COM interface


  





Delphi - Microsoft Outlook COM (1)

Download Project Sample

In this article we are going to cover one of the most useful features for any Delphi application. Microsoft Outlook provides Delphi developers with a COM interface (outlook2000.pas, outlook2003.pas) that contains literally 1000's of classes, methods and properties essential to any business application.

No matter how many bad words we have to say about Microsoft from time to time, they are simply the best when it comes to mail management. Their Outlook product being a pure success. Any good programmer should utilize the features of Outlook and integrate them into their Delphi application without hesitation. In this article we are going to cover a light taster for creating a mail message, completing mail details, adding an attachment and sending the email to our intended recipient. This is only the tip of the ice berg as far as Outlook COM goes. Advanced developers should look closely into the Outlook2000.pas file to view the whole host of features available.

Ok lets start by creating a demo application (that you can download from our site).

First of all we are going to create a simple project that has only a single form which will be our Mail template. The screen shot of our Mail template form is shown below:
       

As you can see we have added various TextBox and Memo components that allow the user to complete common Outlook message details. These details include To, Subject, Message and Attachment. These details will be integrated into the MailItem object of the Outlook interface (more on this later). We have also added a single button to our form that lets the user SEND the mail.




Next (Page 2)

Featured

Other popular Delphi resources. Why not try them for yourself?



                   


    

Extras Microsoft Practice Exams Software Directory Music Tracks Net Components Windows Process
Web Hosting Delphi Amiga Games Processos de Windows Braindumps Musicas Gratis Opiniões
Buy Products Latest Reviews Absolute Adsense Free Web Templates CV Tips Programas Gratis Learning 免费音乐

PrivacyPolicy

  Home  Links  About Us
Copyright © Accelerated Ideas 2005-2009
All rights reserved.


Delphi Knowledge Base. Best practices, walkthroughs, tutorials, component advice and more. Solutions and professional designs for Delphi 4, Delphi 5, Delphi 6 and Delphi, 7. Word COM, Excel COM, Outlook COM including code examples for Word OLE, Excel OLE and Outlook OLE. Automating Outlook to create MailItem and send attachments in Delphi. ActiveX, Com. ADO Data Architecture, TMS component pack walk through and code examples. Using Developer Express and example walkthroughs. Date & time conversion routines, video playback and frame manipulation. COM articles, papers, tips, techniques and hints. How to create Word reports and excel spreadsheets using Delphi code and OLE automation. Understanding Delphi encryption and using ciphers, with source code examples of Blowfish, Twofish, and Rijndael. Securing application data and confidential information using open source encryption components. Free encryption dll component. Accessing and managing MS Excel sheets with Delphi. How to retrieve, display and edit Microsoft Excel spreadsheets with Delphi automation. Accessing and managing MS Word documents with Delphi. How to retrieve, display and edit Microsoft Word documents using Delphi automation. Read and write Excel spreadsheets using Delphi code. How to read and write registry entries using Delphi code. Source code examples using Delphi 5, Delphi 6 and Delphi 7. Working with VCL Developer Express components. How to apply grid styles and themes to Delphi applications. Using image columns and shading to improve the grid and treeview appearances. Including examples from ExpressQuantumPack, for Delphi, ExpressPack for Delphi. Developer guides for Developer Express components. All our articles are written by our senior Delphi professionals to help you get the best from your legacy Delphi applications