This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20
SMTP_GetPrefs
|
SMTP_GetPrefs ( lineFeeds ; charset&Encoding ; lineLength ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
lineFeeds | Integer |
![]() |
0 = Don't Add, 1 = Add LineFeeds | |||||
charset&Encoding | Longint |
![]() |
Charset of the message body, headers and attachment filenames as well as encoding of the body | |||||
lineLength | Longint |
![]() |
Maximum line length | |||||
Function result | Integer |
![]() |
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.
Product: 4D
Theme: IC Send Mail (deprecated)
Number:
88993
Created: 4D Internet Commands 6.5
4D Internet Commands ( 4D v20)