Summary

In this chapter, you learned about Simple MAPI, the precursor to MAPI. You learned how to use the Declare statement to gain access to this API (and others) and how to use the API to read and send messages, with or without attachments. You also learned a couple of nice extras, such as showing the address book.

In the next chapter, you’ll see a technology that is built on Simple MAPI—the MAPI ActiveX controls. If you’re looking for a quick start in messaging from Visual Basic, read on.

Get CDO & MAPI Programming with Visual Basic: now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.