# Table of contents:
# Introduction
GetMessage is one of the SOAP actions the RSI provides.
Gets a message from the offline message server.
# Client/Request
The template used in this action is described on the RSI main page.
# GetMessageThis element has only one attribute:
xmlns: This is always set tohttp://www.hotmail.msn.com/ws/2004/09/oim/rsi.
This element has two children:
messageId: The ID of the message to download.alsoMarkAsRead: Iftrue, this message will be marked as read. Otherwise, usefalse.
# Server/Response
The template used in this action is described on the RSI main page.
# GetMessageResponseThis element has only one attribute:
xmlns: This is always set tohttp://www.hotmail.msn.com/ws/2004/09/oim/rsi.
This element has only one child:
<GetMessageResult>: The full message, with it's MIME headers. These six are important:Content-Type: This is usually set totext/plain; charset=UTF-8, butmultipart/alternativeis accepted.Content-Transfer-Encoding: This is always set tobase64.X-OIM-Message-Type: This is always set toOfflineMessage.X-OIM-Run-Id: The formatted GUID for the thread this message belongs to.X-OIM-Sequence-Num: This is the sequence ID for the thread. This will be1if this is the first message.X-OriginalArrivalTime: The timestamp of the message.
Also includes aFILETIMEcomponent which is a Win32FILETIMEstruct serialized as 2 blocks of 8 hexadecimal nybbles, with the low 8 nybbles first, then a colon, then the high 8 nybbles enclosed in square brackets.
# Examples
# Client/Request
POST /rsi/rsi.asmx HTTP/1.1
SOAPAction: http://www.hotmail.msn.com/ws/2004/09/oim/rsi/GetMessage
Cache-Control: no-cache
Content-Type: text/xml; charset=utf-8
Content-Length: 584
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<soap:Header>
<PassportCookie xmlns="http://www.hotmail.msn.com/ws/2004/09/oim/rsi">
<t>ticket</t>
<p>profile</p>
</PassportCookie>
</soap:Header>
<soap:Body>
<GetMessage xmlns="http://www.hotmail.msn.com/ws/2004/09/oim/rsi">
<messageId>MSG1784881639.24</messageId>
<alsoMarkAsRead>true</alsoMarkAsRead>
</GetMessage>
</soap:Body>
</soap:Envelope>
# Server/Response
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: 690
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<soap:Body>
<GetMessageResponse xmlns="http://www.hotmail.msn.com/ws/2004/09/oim/rsi">
<GetMessageResult>MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: base64
X-OIM-Message-Type: OfflineMessage
X-OIM-Run-Id: {A726E9AC-166A-4FE6-9E42-E374D3913224}
X-OIM-Sequence-Num: 1
X-OriginalArrivalTime: 07 Jul 2026 14:48:41.4530 (UTC) FILETIME=[AF3FC9D0:01DD1C44]
VGhpcyBpcyBhIG1lc3NhZ2Uu</GetMessageResult>
</GetMetadataResponse>
</soap:Body>
</soap:Envelope>