procedure LoadFromStream(AStream: TStream);
Description
Loads the attachment content from a stream specified in the AStream parameter.
When the PathName property is set, the data from the stream is copied to the file specified in the PathName property. Otherwise, the data is loaded to a TMemoryStream object that stores the attachment content.
See Also