SPEmailMessage.GetMessageStream method

Returns a stream that represents the entire e-mail message, including both the message body and headers.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function GetMessageStream As Stream
'Usage
Dim instance As SPEmailMessage
Dim returnValue As Stream

returnValue = instance.GetMessageStream()
public Stream GetMessageStream()

Return value

Type: System.IO.Stream
A System.IO.Stream object that represents the message stream.

See also

Reference

SPEmailMessage class

SPEmailMessage members

Microsoft.SharePoint.Utilities namespace