views:

53

answers:

1

SharePoint is breaking the emails apart separating the attachments from the emails were sent into, resulting in multiple files where should be only one. Does anyone knows a solution around this issue? How to store an email and its content in one file in SharePoint? Thanks,

+2  A: 

Use the EmailReceived event handler. This is fired when an email is received, leaving you to do the processing.

It passes through an SPEmailMessage which contains the raw message and any attachments. Your event handler would need to extract the mail message and store it as a list item, then copy the attachments over to the Attachments collection of the list item.

Alex Angas