Creates an email interaction in response (reply, forward, etc...) to this email.
Namespace: ININ.IceLib.InteractionsAssembly: ININ.IceLib.Interactions (in ININ.IceLib.Interactions.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public EmailInteraction CreateResponse( EmailContent newContent, EmailResponseType responseType ) |
Visual Basic |
---|
Public Function CreateResponse ( _ newContent As EmailContent, _ responseType As EmailResponseType _ ) As EmailInteraction |
Parameters
- newContent
- Type: ININ.IceLib.Interactions..::..EmailContent
The new email's content.
- responseType
- Type: ININ.IceLib.Interactions..::..EmailResponseType
The type of response to create.
Remarks
Use CloneForResponse(EmailCloneAttachmentType) to create content for the new message.
Exceptions
Exception | Condition |
---|---|
System..::..InvalidOperationException | This is a email does not support the requested response type. |
ININ.IceLib.Connection..::..RequestTimeoutException | The request timed out while waiting for a response. |
ININ.IceLib.Connection..::..SessionDisconnectedException | The Session does not have a valid connection. |
System..::..ObjectDisposedException | The Session has been disposed. |
Version Information
Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.