rbv_api.closeMailSession()

Removal in Platform v6.13.3.0. Starting with this version, this API is no longer available. Update scripts that call it before upgrading. No direct server-side replacement is available. See Deprecated and Removed Features.

Purpose

Closes connection to a connected external email server.

Syntax

rbv_api.closeMailSession()

Return value

None

Example

Closes the current mail session after reading messages.

rbv_api.openPOP3("mail.example.com", 995, "user@example.com", password, null); var count = rbv_api.getMailMessageCount(); rbv_api.closeMailSession();