Writes the content for an attachment onto the specified stream.
procedure SaveToStream( AStream: TIdStream ); virtual;
Parameters |
Description |
Stream |
Stream used to store the contents of the attachment. |
SaveToStream is a method used to write the content of the attachment into the TIdStream instance specified in AStream.
SaveToStream prepared an internal stream instance with the headers and the message part content for the attachment. SaveToStream uses the CopyFrom method in the stream instance to copy values from the load stream onto the stream specified by AStream.
Use LoadFromStream to load the attachment stored using SaveToStream.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
|
Post feedback to the Indy Docs Newsgroup.
|