How to: Publish a chat message digest through email

Learn how the Microsoft Lync Server 2013 Persistent Chat API and Exchange Web Services (EWS) Managed API is used to create the Persistent Chat message digest. The digest is used in the Microsoft Outlook inbox for each Persistent Chat room member.

Applies to: Lync 2013 | Lync Server 2013

In a forum, it's customary to provide message digest as a mechanism to notify the participants of newly posted messages to the forum even when the participants are not online. The message digest can be in the form of complete listing of messages or some type of summaries. It can be delivered to the email accounts of the members of the forum as soon as new messages are posted or on a fixed schedule.

The Microsoft Lync Server 2013 Persistent Chat API and Exchange Web Services (EWS) Managed API can be used to provide the digest of Persistent Chat messages to the Outlook Inboxes of the members of a chat room. The simplest case would involve sending newly posted messages to the chat room members’ Outlook Inboxes as soon as they are posted.

Send chat message digest to Outlook inbox instantly

This scenario includes the following programming tasks:

  1. Connect to Persistent Chat Server on a UserEndpoint-based PersistentChatEndpoint.

  2. Select a chat room and retrieve all the members of the room.

  3. Establish a chat room session and register to receive ChatMessageReceived events.

  4. In the ChatMessageReceived event handler, send the parsed message to the Outlook Inboxes of the chat room members using EWS.

See also

Concepts

Lync Server 2013 Persistent Chat SDK general reference