| 4D v20MSG_HasAttach | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D v20
 MSG_HasAttach 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| MSG_HasAttach ( fileName ; attachCount ) -> Funktionsergebnis | ||||||||
| Parameter | Typ | Beschreibung | ||||||
| fileName | Text |   | Filename (path defaults to message folder) | |||||
| attachCount | Ganzzahl |   | Count of Attachments | |||||
| Funktionsergebnis | Ganzzahl |   | Error Code | |||||
If the file has attachments, the MSG_HasAttach command returns in the integer attachCount the number of attachments. An attachment is any non-text MIME enclosure. If the message has no attachments, 0 is returned.
fileName is the name of the file or the full path of the file of which to check for attachments. 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 (with 4D single-user) or to the 4D Client folder (with 4D Server).
Compatibility note (version 6.8.1): If the MSG_SetPrefs command is not used, the POP3_SetPrefs msgFolder parameter is used; if MSG_SetPrefs is used, the POP3_SetPrefs msgFolder parameter is ignored.
attachCount is an integer value returned which specifies the number of attachments for fileName.
	Produkt: 4D
	Thema: IC Downloaded Mail
	Nummer: 
        88950
        
        
        
	
	Geändert: 4D Internet Commands 6.8.1
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D Internet Commands ( 4D v20)
	
	
 Fehler melden
Fehler melden