4D Internet Commands v14

SMTP_InReplyTo

Home

 
4D Internet Commands v14
SMTP_InReplyTo

SMTP_InReplyTo 


 

SMTP_InReplyTo ( smtp_ID ; inReplyTo {; deleteOption} ) -> Function result 
Parameter Type   Description
smtp_ID  Longint in Message reference
inReplyTo  Text in In-Reply-To Text
deleteOption  Integer in 0 = Replace (if inReplyTo not empty), 1 = Replace, 2 = Delete
Function result  Integer in Error Code

The SMTP_InReplyTo command identifies the previous correspondence for which this message is a response.

smtp_ID is the long integer reference to the mail message created with the SMTP_New command.

inReplyTo is a text value which references previous correspondences to which this message pertains. For specific formatting requirements, please consult RFC#822.

Warning: The text should not contain a line feed (ascii=10). Doing so would signify the end of the header section and the beginning of the body. Subsequent header items could be pushed into the body and not recognized properly by the server or client software. For more information regarding the headers, please refer to RFC#822.

deleteOption is an integer value which specifies whether to replace or delete the "ReplyTo" header:

  • A value of zero will set the "ReplyTo" field to the new value, overriding any prior settings (if you pass an empty string in inReplyTo, the prior header will be kept).
  • A value of 1 will set the "ReplyTo" field to the new value, overriding any prior settings (if you pass an empty string in inReplyTo, the header will be deleted).
  • A value of 2 will delete any address previously defined for the "ReplyTo" field and remove the header from the mail envelope.
    deleteOption is an optional parameter which will default to zero if not otherwise specified.

 
PROPERTIES 

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

 
HISTORY 

Created: 4D Internet Commands 6.5

 
SEE ALSO 

SMTP_New

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v11.4)
4D Internet Commands ( 4D v13.2)
4D Internet Commands ( 4D Internet Commands v12.1)
4D Internet Commands ( 4D Internet Commands v14 R2)
4D Internet Commands ( 4D Internet Commands v14)
4D Internet Commands ( 4D Internet Commands v14 R3)
4D Internet Commands ( 4D Internet Commands v14 R4)