4D Internet Commands v16

MSG_GetMessage

Home

 
4D Internet Commands v16
MSG_GetMessage

MSG_GetMessage 


 

MSG_GetMessage ( fileName ; Offset ; Länge ; rawText ) -> Funktionsergebnis 
Parameter Typ   Beschreibung
fileName  Text in Filename (path defaults to message folder)
Offset  Lange Ganzzahl in Starting offset into message file (0 = start of file)
Länge  Lange Ganzzahl in Number of characters
rawText  Text in Raw text (ignores Prefs)
Funktionsergebnis  Ganzzahl in Error Code

The MSG_GetMessage command returns the raw text of the message regardless of enclosures. It does not strip MIME headers.

fileName is the name of the file or the full path of the file of which to extract the body of the message. If only a filename is given, the path will default to the folder set by POP3_SetPrefs or MSG_SetPrefs (see Compatibility note). If no folder has been specified, the path will default to the folder containing the structure of the database.

Compatibility note (version 6.8.1): If the MSG_SetPrefs command is not used, the POP3_SetPrefs msgFolder parameter will be used; if MSG_SetPrefs is used, the POP3_SetPrefs msgFolder parameter is ignored.

offset is the character position within the source message information at which to begin the retrieval.

length is the number of characters to return.

rawText receives the text of the entire message. The preference settings for linefeed stripping are ignored and no effort is taken to strip any attachment that may be embedded within the message body.



Siehe auch 

MSG_SetPrefs
POP3_SetPrefs

 
EIGENSCHAFTEN 

Produkt: 4D Internet Commands
Thema: IC Downloaded Mail
Nummer: 88951

 
GESCHICHTE 

Geändert: 4D Internet Commands 6.8.1

 
ARTIKELVERWENDUNG

4D Internet Commands ( 4D Internet Commands v16)