SQL Object
 
Syntax
 
SQL.ExtractAttachment(MailHandle[, FileNum][, StorePathFile])
 
Description
Reads one or more attachments from the specified e-mail and stores them in the specified pathname and/or file name.
 
Parameter
Description
MailHandle
Unique ID of the email message
FileNum
Optional, serial number of the attachment
StorePathFile
Optional. A pathname (for multiple attachments, FileNum = -1) or a file name, including pathname for the specified FileNum..
 
See Also
Example
 
Sub Main
 
  Msgbox SQL.ExtractAttachment(12893, -1, "C:\Temp")    'Download all attachments of message 12893 into a temporary folder
 
End Sub