Creates an email interaction in response (reply, forward, etc...) to this email.

Namespace: ININ.IceLib.Interactions
Assembly: 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

ExceptionCondition
System..::..InvalidOperationExceptionThis is a email does not support the requested response type.
ININ.IceLib.Connection..::..RequestTimeoutExceptionThe request timed out while waiting for a response.
ININ.IceLib.Connection..::..SessionDisconnectedExceptionThe Session does not have a valid connection.
System..::..ObjectDisposedExceptionThe 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.

See Also