SPEmailMessage constructor
Initializes a new instance of the SPEmailMessage class.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
stream As Stream, _
envelopeSender As String _
)
'Usage
Dim stream As Stream
Dim envelopeSender As String
Dim instance As New SPEmailMessage(stream, _
envelopeSender)
public SPEmailMessage(
Stream stream,
string envelopeSender
)
Parameters
stream
Type: System.IO.StreamA Stream object that represents the e-mail message, including headers.
envelopeSender
Type: System.StringA string that contains the RFC 821 MAIL FROM sender of the message.