OrganizationServiceContextExtensions.CheckIncomingEmail<TResponse> Method (OrganizationServiceContext, String, String, String, String, String, String)
Applies To: Dynamics CRM 2013
Checks whether the incoming email message is relevant to the Microsoft Dynamics CRM system. (Developer Extensions)
Namespace: Microsoft.Xrm.Client.Messages
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static TResponse CheckIncomingEmail<TResponse>(
this OrganizationServiceContext context,
string messageId,
string subject,
string from,
string to,
string cc,
string bcc
)
where TResponse : OrganizationResponse
public:
generic<typename TResponse>
where TResponse : OrganizationResponse
[ExtensionAttribute]
static TResponse CheckIncomingEmail(
OrganizationServiceContext^ context,
String^ messageId,
String^ subject,
String^ from,
String^ to,
String^ cc,
String^ bcc
)
static member CheckIncomingEmail<'TResponse when 'TResponse : OrganizationResponse> :
context:OrganizationServiceContext *
messageId:string *
subject:string *
from:string *
to:string *
cc:string *
bcc:string -> 'TResponse
<ExtensionAttribute>
Public Shared Function CheckIncomingEmail(Of TResponse As OrganizationResponse) (
context As OrganizationServiceContext,
messageId As String,
subject As String,
from As String,
to As String,
cc As String,
bcc As String
) As TResponse
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextThe organization service context.
messageId
Type: System.StringThe ID of the email message stored in the email header. Required.
subject
Type: System.StringThe subject line for the email message. Optional.
from
Type: System.StringThe from address for the email message.
to
Type: System.StringThe addresses of the recipients of the email message.
cc
Type: System.StringThe addresses of the carbon copy (Cc) recipients for the email message.
bcc
Type: System.StringThe addresses of the blind carbon copy (Bcc) recipients for the email message.
Return Value
Type: TResponse
Returns an Int64
Type Parameters
- TResponse
Remarks
This is a method wrapper for the CheckIncomingEmailRequest and CheckIncomingEmailResponse classes. See the documentation in the Request class for more information about this message.
See Also
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top