Close Connection Activity
The Close Connection activity terminates an active mail server session that was previously established within the workflow. This ensures that system resources are released and the connection is securely finalized after all mail operations are complete.
| Field | Description | Requirement |
|---|---|---|
| Connection Name | Specifies the reference name of the mail connection to be terminated. | Required |
Action Types & Examples
Connection Termination
- Format: string
- Example Result: "Connection closed successfully"
Implementation Examples
Field Setup - Select the established connection reference from the Connection Name dropdown menu.
Execution Parameters - Connection Name: robustamailconnection
Technical Notes
This activity must reference a connection name that has been initialized by a preceding mail connection activity. It is a best practice to place this activity in a "Finally" block or at the end of the mail processing sequence to prevent resource leaks.