Dart Smtp, Pop, Imap Controls
AttachmentDirectory Property
Description
Decoded message attachments are created in this directory.
Property type
Read-write property
Syntax
Visual Basic
Public Property AttachmentDirectory As String
Remarks

The default value is ".\" (the default directory). This property can only be set at run time.

A message can include attached files. When these messages are decoded, the filename from the message is combined with this property to produce the file path used to recreate the attached file.

Due to an operating system limitation, this value cannot be longer than 256 characters.

Note This property may be set at anytime for subsequent decoding operations.

If set to "" (an empty string) or the 'Content-Type' header does not include a name for the file, then the file is not created, and the Data property contains the decoded file.

Error Codes

This method may generate the following error code (refer to MailErrorConstants for a complete list of error codes):

See Also

Imap Object  | Imap Members


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