TIpMail() > High level methods |
Stores an attached a file to disk.
:detachFile( [<cPath>] ) --> lSuccess
Method :detachFile() retrieves the contents of a file attached to an incoming mail and stores it in the specified directory on the local station. The file name is retrieved with method :getFileName() which extracts the file name from the mail header field of a multipart mail message.
http://www.xHarbour.com