This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20
SMTP_Clear
|
SMTP_Clear ( smtp_ID ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
smtp_ID | Longint |
![]() |
Message reference | |||||
![]() |
0 if successful | |||||||
Function result | Integer |
![]() |
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.
See the example for the command SMTP_Body.
Product: 4D
Theme: IC Send Mail (deprecated)
Number:
88988
Created: 4D Internet Commands 6.5
4D Internet Commands ( 4D v20)