SharePoint SPListItem.ContentType.Name - "Message" vs "Discussion" ?

Posted by Christopher on Stack Overflow See other posts from Stack Overflow or by Christopher
Published on 2009-07-10T13:41:17Z Indexed on 2010/03/29 3:03 UTC
Read the original article Hit count: 572

Filed under:
|
|
|
|

I am writing a C# code to find all of our SharePoint Sites that have emails contained in the Email List page. It appears that some of our email messages are SPListItem.ContentType.Name = "Message" and some of our email messages are SPListItem.ContentType.Name = "Discussion"

Aside from the confusion, this is forcing my to cycle through mylist.Folders and mylist.Items in two separate loops, so that I don't miss any of the emails.

Is this normal? Any idea why this could be happening? There are threads that contains messages of both types.

© Stack Overflow or respective owner

Related posts about sharepoint

Related posts about c#