4D v13.2

SMTP_Clear

Home

 
4D v13.2
SMTP_Clear

SMTP_Clear 


 

SMTP_Clear ( smtp_ID ) -> Function result 
Parameter Type   Description
smtp_ID  Longint in Message reference
in 0 if successful
Function result  Integer in Error Code

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.

 
PROPERTIES 

Product: 4D
Theme: IC Send Mail
Number: 88988

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Internet Commands 6.5

 
SEE ALSO 

SMTP_New