Command SMTP_GetPrefs

4D Internet Commands

SMTP_GetPrefs

version 6.5


SMTP_GetPrefs (lineFeeds; bodyType; lineLength) Integer

ParameterTypeDescription
lineFeedsInteger0 = Don't Add, 1 = Add LineFeeds
bodyTypeIntegerBody-Content-Type
lineLengthLongintMaximum line length

Function result Integer Error Code

Description

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.

bodyType returns the current setting for the Body-Content-Type. See the bodyType table under SMTP_SetPrefs for a description of the values.

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

See Also

SMTP_SetPrefs.