SL Inbox Message Structure

4/8/2010

The structure of an SL Inbox message depends on whether or not it is a cache SL message or an SL download failure message.

Cache SL Message

If the action attribute in SL is cache, based on the type of the content downloaded, two formats of message content are created.

If the mobile Internet browser can process the content directly, the text content of an SL Inbox message is a predefined string. The hypertext link is associated with the content that was downloaded and stored in cache.

The following graphic displays an SL Inbox message.

Bb445969.b5827de7-c542-4491-be52-0c87ee7bb8a0(en-us,MSDN.10).gif

The following list describes all of the features of an SL-cache notification if the mobile Internet browser can process the content directly:

  • From   The Push Initiator (server) URL. If no server URL is found, a predefined string is used: "Unidentified sender".
  • Subject   The URI from the href attribute. For example, "Updates from <www.adatum.com>".
  • Body Text   "Web content received."

If the mobile Internet browser cannot process the content directly, the following message is created. The text content is a predefined string. The file link points to the directory to which the content is downloaded. The second link in the message, which is not shown in the following graphic, is the same as the href attribute in the SL message.

Bb445969.ebd94977-3e9d-4220-b2d3-0c1c1e3f94f0(en-us,MSDN.10).gif

The following list describes all features of an SL-cache notification if the mobile Internet browser cannot process the content:

  • From   The Push Initiator (server) URL. If no server URL is found, a predefined string is used: "Unidentified sender".
  • Subject   The URI from the href attribute. For example, "Updates from <Internet Explorer Mobile>".

SL Download Failure Message

If the SL client fails to download the content, a download failure message is created and sent to the Inbox. The message body is a predefined string. The "Retry" hyperlink contains the href attribute provided in SL message. And if the action attribute in SL is execute-high, the message is presented to the user immediately. The From and Subject fields are the same as the cache of the SL message.

Bb445969.b12143a7-82b9-4a3e-908f-ed42215deb3f(en-us,MSDN.10).gif

See Also

Concepts

Message Structure