LogoffSMTP

Log off the SMTP server.

LogoffSMTP()

Parameters

None

Return Values

Values Returned by SendMail in $status
Value Description
0 Success
-8 Not logged on
-9 Network problems

Description

The LogoffSMTP operation is used to log off the SMTP server, thus closing the connection opened by LogonSMTP.

Use LogoffSMTP only after all mails have been sent using SendMail.

Related Topics