SPEmailEventReceiver.EmailReceived Method
Occurs after an e-mail message has arrived.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overridable Sub EmailReceived ( _
list As SPList, _
emailMessage As SPEmailMessage, _
receiverData As String _
)
'Usage
Dim instance As SPEmailEventReceiver
Dim list As SPList
Dim emailMessage As SPEmailMessage
Dim receiverData As String
instance.EmailReceived(list, emailMessage, _
receiverData)
public virtual void EmailReceived(
SPList list,
SPEmailMessage emailMessage,
string receiverData
)
Parameters
- list
Type: Microsoft.SharePoint.SPList
emailMessage
Type: Microsoft.SharePoint.Utilities.SPEmailMessageAn SPEmailMessage object representing the e-mail message.
receiverData
Type: System.StringA string containing data about the e-mail message.