Command MSG_GetPrefs

4D Internet Commands

MSG_GetPrefs

version 6.8.1


MSG_GetPrefs (stripLineFeed; msgFolder; attachFolder) Integer

ParameterTypeDescription
stripLineFeedInteger0 = Do not strip CR/LF, 1 = Strip CR/LF
msgFolderTextMessages folder path ("" = no change)
attachFolderTextAttachments folder path ("" = no change)

Function result Integer Error code

Description

The MSG_GetPrefs command returns the current preferences for the MSG commands.

The preferences are returned into the variables listed in the parameters.

stripLineFeed returns the current setting of the user's preference for linefeed stripping.

msgFolder is a text variable which returns the local pathname to the default folder in which retrieved messages are stored.

attachFolder is a text variable which returns the local pathname to the default folder in which extracted attachments are stored

See Also

MSG_SetPrefs, POP3_SetPrefs.