FileStart & FileSize properties
These properties define the location of being attached data in the safearray.
The AttacheFile method can attept binary safearrays as well as file names to point the data to attach.
In case when the binary safearray is used, you can specify the start position and data length. In this case the only
part of data will be attached.
Note
Default values
FileStart = 0 (Data are started from first element is safearray)
FileSize = -1 (The whole safearray will be attached)
Example
mail.FileStart = 25
mail.FileSize = 1024
mail.AttachFile binarydata