none
Implement ActiveSync Client question: Email - Attachment Name RRS feed

  • Question

  • AttName (Attachement Name tags retrieved from the Sync-GetChanges or Sync-Fetch response) has been encoded by the URL-Encoding algorithm. But there has no description about this encoding behavior in the document. Is this different from server to server by the setting of server itself, and without the relationship to protocol version of the ActiveSync?
    Wednesday, December 10, 2008 6:39 AM

Answers

  • Tony,

    Where are you finding a reference to a URL-Encoding algorithm? This is not mentioned in the documentation! AttName is a tag used in version 2.5 of the ActiveSync Protocol and is included for legacy purposes only. If you are using v2.5, you can use the value found in the AttachmentName parameter for the GetAttachment command (See [MS-ASCMD] Section 2.2.1.6). You would encode the Attachment in the Url of the command like so:

    POST /Microsoft-Server-ActiveSync?Cmd=GetAttachment&User=jsmith&DeviceId=Trey789afdeq654dezd2x&DeviceType=TreyT5600&
    AttachmentName=Inbox/TestMessage.eml/Attachment.txt
    Accept-Language: en-us

    For version 12.1 of the protocol, URL-Encoding refers to the base64-encoded sequence of bytes that is detailed in document [MS-ASHTTP] within Section 2.2.1.1.1 and subsections.

    Dominic Salemno

    SENIOR SUPPORT ESCALATION ENGINEER

     

    Monday, January 5, 2009 8:23 PM

All replies

  • Hello Tony,

    Thank you for your questions.  Someone from our group will respond to you soon.

    Regards,
    Mark Miller, US-CSS DSC PROTOCOL TEAM

    Wednesday, December 10, 2008 5:50 PM
  •  Hello Tony,

    This forum is for helping customers interoperating with Windows via our open protocol documentation. Your issue does not appear to be related to our protocol documentation.  You may want to try posting your question at the 
    Exchange Development forum, http://forums.microsoft.com/TechNet/ShowForum.aspx?ForumID=838&SiteID=17

    Regards,
    Mark Miller, US-CSS DSC PROTOCOL TEAM

    Wednesday, December 10, 2008 9:20 PM
  • Tony,

    This looks like a bug in the documentation as you pointed out.  I have filed a Technical Documentation Issue (TDI) to get this resolved.  I will post an answer once I get feedback from development.


    Developer Consultant
    Thursday, December 11, 2008 6:46 PM
    Moderator
  • Tony,

    Where are you finding a reference to a URL-Encoding algorithm? This is not mentioned in the documentation! AttName is a tag used in version 2.5 of the ActiveSync Protocol and is included for legacy purposes only. If you are using v2.5, you can use the value found in the AttachmentName parameter for the GetAttachment command (See [MS-ASCMD] Section 2.2.1.6). You would encode the Attachment in the Url of the command like so:

    POST /Microsoft-Server-ActiveSync?Cmd=GetAttachment&User=jsmith&DeviceId=Trey789afdeq654dezd2x&DeviceType=TreyT5600&
    AttachmentName=Inbox/TestMessage.eml/Attachment.txt
    Accept-Language: en-us

    For version 12.1 of the protocol, URL-Encoding refers to the base64-encoded sequence of bytes that is detailed in document [MS-ASHTTP] within Section 2.2.1.1.1 and subsections.

    Dominic Salemno

    SENIOR SUPPORT ESCALATION ENGINEER

     

    Monday, January 5, 2009 8:23 PM