Simple Mail Transfer Vuser Functions (SMTP) > Alphabetical List of Functions > smtp_logout

smtp_logout

Example: smtp_logout Simple Mail Transfer Vuser Functions (SMTP)

Logs off from the SMTP server.

int smtp_logout();

The smtp_logout function logs off from the SMTP server.

This function is for use with global sessions. For multiple sessions, use the smtp_logout_ex function, which allows you to specify a session identifier.

Return Values

If this function succeeds, it returns LR_PASS. Otherwise, it returns LR_FAIL.

Parameterization

Standard parameterization is not available for this function.