Stores the headers and message part content for the attachment into the specified file.
procedure SaveToFile( const FileName: String ); virtual;
Parameters |
Description |
FileName |
FIle used to store the contents of the attachment. |
SaveToFile is a method used to store the headers and message part content for the attachment into the file specified in FileName.
SaveToFile creates a TIdFileStream instance that used to write the contents of the attachment by calling SaveToStream. SaveToFile frees the TIdFileStream instance prior to exiting form the method.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
|
Post feedback to the Indy Docs Newsgroup.
|