4D Internet Commands v16SMTP_Subject |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Internet Commands v16
SMTP_Subject
|
SMTP_Subject ( smtp_ID ; subject {; deleteOption} ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
smtp_ID | Longint |
![]() |
Message reference | |||||
subject | Text |
![]() |
Subject of message | |||||
deleteOption | Integer |
![]() |
0 = Replace (if subject not empty), 1 = Replace, 2 = Delete | |||||
Function result | Integer |
![]() |
Error Code | |||||
The SMTP_Subject command adds the subject of the message to the message referenced by smtp_ID. If a subject has already been added by a previous SMTP_Subject command, the new subject will override the previous subject.
smtp_ID is the long integer reference to the mail message created with the SMTP_New command.
subject is a text value concisely describing the topic covered in detail by the message body.
Notes:
deleteOption is an integer value which specifies whether to replace or delete the "Subject" header:
See the example for the command SMTP_Body.
Product: 4D Internet Commands
Theme: IC Send Mail
Number:
88974
Created: 4D Internet Commands 6.5
Modified: 4D Internet Commands v14
4D Internet Commands ( 4D Internet Commands v16)