Makes the 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 MakeEmail(
	EmailInteractionParameters emailParameters
)
Visual Basic
Public Function MakeEmail ( _
	emailParameters As EmailInteractionParameters _
) As EmailInteraction

Parameters

emailParameters
Type: ININ.IceLib.Interactions..::..EmailInteractionParameters
The email parameters.

Return Value

The Interaction that was returned.

Remarks

Note
MakeEmail requires that the provided work group has its routing configured to handle email. If the created email interaction is to be handled by the .NET Client, the default email body content type is text/html. If the desired content type is text/plain, then do not add the EmailBodyto the Bodies collection, but only assign the string to the Body property.
Note
At this time, creating inbound email interactions is not supported.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic).
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