Share via


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)
Available in Sandboxed Solutions: No

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