Share via


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.Stream

    A Stream object that represents the e-mail message, including headers.

  • envelopeSender
    Type: System.String

    A string that contains the RFC 821 MAIL FROM sender of the message.

See also

Reference

SPEmailMessage class

SPEmailMessage members

Microsoft.SharePoint.Utilities namespace