Platform SDK: MAPI

Adding a Message Service

To add a new message service to a profile

To access the new message service

  1. Call IMsgServiceAdmin::GetMsgServiceTable to retrieve the message service table.
  2. Call the message service table's IMAPITable::Advise method to register for table notifications.
  3. When MAPI sends a TABLE_ROW_ADDED notification, locate the entry identifier of the newly added message service in the SRow structure included in the TABLE_NOTIFICATION structure.