Skip to Content
CDO & MAPI Programming with Visual Basic:
book

CDO & MAPI Programming with Visual Basic:

by Dave Grundgeiger
October 2000
Intermediate to advanced
384 pages
10h 22m
English
O'Reilly Media, Inc.
Content preview from CDO & MAPI Programming with Visual Basic:

Appendix A. Programming Internet Email Protocols

This book is primarily about Messaging Application Programming Interface (MAPI)—Microsoft’s abstract interface to messaging systems. Throughout the book, you’ve seen that programming against MAPI allows the intricacies and peculiarities of specific storage and transport mechanisms to be hidden behind MAPI service providers. This is a powerful architecture that simplifies messaging application development. Without any knowledge of Internet protocols, for example, client applications can send and receive email via the Internet.

However, there is cost associated with this power. The computers on which MAPI client applications are to run must have MAPI installed on them, and they must have appropriate MAPI profiles set up. In addition, most of the code in this book requires CDO to be installed. If you have an application in which for some reason you do not wish to use MAPI, you might consider programming the Internet protocols directly. This appendix shows you how to do that using the Winsock custom control that is included with Visual Basic 6. (If you’re writing an application to run under Windows 2000, you can use CDO for Windows 2000 instead. See Chapter 12, for details.) Be aware that when you choose not to use MAPI, your application becomes intricately tied to the underlying storage and transport mechanisms, making it very expensive to add support for different storage and transport mechanisms in the future.

How Email Is Sent on ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Excel® 2007 VBA Programmer's Reference

Excel® 2007 VBA Programmer's Reference

John Green, Stephen Bullen, Rob Bovey, Michael Alexander
COM Programming with Microsoft® .NET

COM Programming with Microsoft® .NET

John Paul Mueller, Julian Templeman

Publisher Resources

ISBN: 156592665XSupplemental ContentCatalog PageErrata