version 6.5
SMTP_Clear (smtp_ID) Integer
Parameter | Type | Description | |
smtp_ID | Longint | Message reference | |
0 if successful | |||
Function result | Integer | Error Code |
Description
The SMTP_Clear command disposes of a message, freeing any memory using during its creation. Every call to SMTP_New should have a corresponding call to SMTP_Clear.
smtp_ID is the long integer reference to the mail message created with the SMTP_New command. Upon the successful close of a SMTP message, the SMTP_Clear command will return a zero value back into the smtp_ID variable.
Example
See the example for the command SMTP_Body.
See Also