4D Internet Commands v16

SMTP_GetPrefs

Home

 
4D Internet Commands v16
SMTP_GetPrefs

SMTP_GetPrefs 


 

SMTP_GetPrefs ( lineFeeds ; charset&Encoding ; lineLength ) -> Function result 
Parameter Type   Description
lineFeeds  Integer in 0 = Don't Add, 1 = Add LineFeeds
charset&Encoding  Longint in Charset of the message body, headers and attachment filenames as well as encoding of the body
lineLength  Longint in Maximum line length
Function result  Integer in Error Code

The SMTP_GetPrefs command returns the current settings assigned to the SMTP preferences. The values will be at their default state unless a prior call to SMTP_SetPrefs altered the settings. For a more complete description of the parameters, see SMTP_SetPrefs.

lineFeeds returns the current setting determining how the SMTP commands will handle carriage returns within the body of a message.

charset&Encoding returns the current setting for the body, headers and attachment filenames. See the charset&Encoding table under SMTP_SetPrefs for a description of combinations corresponding to values.

lineLength returns the current setting for the maximum line length of text in the message body.



See also 

SMTP_SetPrefs

 
PROPERTIES 

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

 
HISTORY 

Created: 4D Internet Commands 6.5

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v16)