The MAPI (Messaging Application Programming Interface) mail service is a messaging architecture that allows applications to send and receive email messages using Microsoft Exchange Server.
Here’s how the MAPI mail service works:
1. An application uses MAPI to connect to the Exchange Server where the user’s mailbox is located.
1. The application creates a MAPI session to communicate with the server.
1. The application can use MAPI functions to create and send email messages, as well as receive and read messages from the mailbox.
1. When a message is sent, the MAPI mail service submits the message to the Exchange Server for delivery.
1. The Exchange Server delivers the message to the recipient’s mailbox.
1. When a message is received, the MAPI mail service retrieves the message from the Exchange Server and delivers it to the application.
1. The application can use MAPI functions to read and manage the received message.
MAPI also supports other messaging functionality, such as calendar and contact management.