locked
Problem with incoming emails when digitally signed RRS feed

Answers

  • Hi Fluidetom,

    I found the same case internally, which says that it is by design SharePoint timer job cannot see the attachment with the email message digital signed, please see more information from below.

    The email that gets added to the SharePoint library contains the actual document. Because the message is signed, "Outlook" locks down the message and the MOSS timer job is unable to "see" that there is an attachment with the email message. The document is still present in the document library, but its attached to the email. The email can be downloaded and the document can then be retrieved from the email. This is by design because signed messages have enhanced security so that they don't get modified.

    If users wanted to verify the signatures, they could configure an email enabled list to save the original mail message. Then they could perform any required validation on the preserved MIME messages.

    Here are two workarounds:

    Option #1 - Custom Code
    1.Write a SharePoint list event handler to handle incoming email event 
    2. Write custom code to read attachment 
    3. Write custom code to insert the attachment to SharePoint list

    Option #2
    On an incoming email enabled SharePoint document library, if an email is sent to the document library with a document attachment, and the email is digitally signed using a user certificate, the individual document does not get added to the document library.

    So, when the timer job attempts to retrieve the attachment, it doesn't see it--Outlook has it locked down. Here's the workaround: configure the incoming email settings for the library/list so that the entire msg is downloaded, .eml. When the .eml file is downloaded locally and opened, the attachment will be there. Or instead of downloading locally, clck on the .eml in explorer View and it should (depending on how the file extension is mapped) open in Outlook express and show attachment.

    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. 


    Daniel Yang
    TechNet Community Support

    • Marked as answer by Fluidetom Monday, April 28, 2014 10:37 AM
    Friday, April 25, 2014 6:21 AM

All replies

  • Hi Fluidetom,

    I found the same case internally, which says that it is by design SharePoint timer job cannot see the attachment with the email message digital signed, please see more information from below.

    The email that gets added to the SharePoint library contains the actual document. Because the message is signed, "Outlook" locks down the message and the MOSS timer job is unable to "see" that there is an attachment with the email message. The document is still present in the document library, but its attached to the email. The email can be downloaded and the document can then be retrieved from the email. This is by design because signed messages have enhanced security so that they don't get modified.

    If users wanted to verify the signatures, they could configure an email enabled list to save the original mail message. Then they could perform any required validation on the preserved MIME messages.

    Here are two workarounds:

    Option #1 - Custom Code
    1.Write a SharePoint list event handler to handle incoming email event 
    2. Write custom code to read attachment 
    3. Write custom code to insert the attachment to SharePoint list

    Option #2
    On an incoming email enabled SharePoint document library, if an email is sent to the document library with a document attachment, and the email is digitally signed using a user certificate, the individual document does not get added to the document library.

    So, when the timer job attempts to retrieve the attachment, it doesn't see it--Outlook has it locked down. Here's the workaround: configure the incoming email settings for the library/list so that the entire msg is downloaded, .eml. When the .eml file is downloaded locally and opened, the attachment will be there. Or instead of downloading locally, clck on the .eml in explorer View and it should (depending on how the file extension is mapped) open in Outlook express and show attachment.

    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. 


    Daniel Yang
    TechNet Community Support

    • Marked as answer by Fluidetom Monday, April 28, 2014 10:37 AM
    Friday, April 25, 2014 6:21 AM
  • Hey Daniel,

    thank you very much for the detailed answer !

    much appreciated

    Monday, April 28, 2014 10:34 AM