Dart Smtp, Pop, Imap Controls
File Property
Description
The attached (decoded) file for this Part.
Property type
Read-write property
Syntax
Visual Basic
Public Property File As String
Remarks

When a message containing an attachment is received, the filename is stripped of path information and the AttachmentDirectory property is prepended to the received name to produce this property. When composing, you may set the File property to the fully qualified name of the file to be attached.

File data is also available as a decoded string or encoded byte array in the Data property.

If the Part uses JIS encoding, and the system is Japanese, then the file is saved using Shift-JIS encoding.

See Also

Part Object  | Part Members


PowerTCP SSL for ActiveX Documentation Version 2.2.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic