IMAP_SetPrefs

4D - Documentation   Français   English   German   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next

version 6.8.1


IMAP_SetPrefs (stripLineFeed; msgFolder) Integer

ParameterTypeDescription
stripLineFeedInteger0 = Do not strip LineFeeds, 1 = Strip LineFeeds,
-1 = No Change
msgFolderTextMessages folder path ("" = no change)
Function resultIntegerError code

Description

The command IMAP_SetPrefs sets the preferences for all IMAP commands.

stripLineFeed is an integer value specifying how LineFeed characters will be treated in saved messages. Most IMAP servers combine Carriage Return and Line Feed characters to indicate the end of a line. Macintosh applications prefer a carriage return only as the end-of-line character. This option lets users strip the linefeed character from their message text. A value of zero will leave retrieved messages in the format as stored on the IMAP server. A value of 1 will strip linefeed characters from retrieved messages. A value of -1 will leave this preference as it has been previously set. The default option is set to 1 and will automatically strip linefeeds found in messages.

msgFolder is a text value indicating the local pathname to a folder in which messages retrieved with the IMAP_Download command are stored by default.

See Also

IMAP_Download, IMAP_GetPrefs.


4D - Documentation   Français   English   German   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next