Internet Direct (Indy) Version 9.0.2 Beta
|
constructor Create(Collection: TIdMessageParts; const AFileName: TFileName);
AFileName is an optional parameter that specifies the initial name of the file to be attached with the TIdAttachment.
Create calls the inherited Create method to initialize the object instance, and assigns AFileName to the FileName property.