4D Internet Commands v16

SMTP_Clear

Home

 
4D Internet Commands v16
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.



See also 

SMTP_New

 
PROPERTIES 

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

 
HISTORY 

Created: 4D Internet Commands 6.5

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v16)