Dart Smtp, Pop, Imap Controls
Project Overview
Description
Dart Smtp, Pop, Imap Controls
Classes
Class ModuleDescription
DartStringsCollection of strings. The DartStrings Object is used as a supporting formatting object for several PowerTCP objects and controls.
HeaderFields

Use the HeaderFields Object to manage message header fields. This collection is similar to the DartStrings collection, with additional methods for processing header fields.

Header fields may be added individually, or as a block to be automatically unwrapped and parsed through the Add method. This collection also provides an Item method to support access by position, symbolic field name, or matching string.

The Message object implements the To, Cc, and Bcc properties with the DartStrings object. Use those properties for recipient storage instead of the HeaderFields Object.

Imap

Use the IMAP Control to retrieve mail from or store mail to any IMAP server. Mailboxes on the server are exposed as a collection of Mailbox Objects. Each Mailbox Object contains messages that can be retrieved and stored in its Messages property.

Powerful default operations are provided, including iteration through a message set to populate the Messages property.

MailboxThe Mailbox Object transforms an IMAP mailbox on a server into a local object that you can easily manipulate. Most properties manipulate the object model and the mailbox on the server.
MailboxesThe Mailboxes Object represents a collection of Mailbox Objects returned from an IMAP server.
Message

The Message Object transforms any Internet mail message into an object that you can easily manipulate within your program. Alternatively, any message that you build or modify can be quickly encoded and sent.

Most of the properties manipulate the object model, with the exception of Content, which when set, dynamically creates a new object. When read, Content encodes the object model and returns it as a String or Byte array.

The Message Object provides complete support for MIME structures. High level methods (AddAttachment, Reply, Forward, AddMessage, AddText, and AddDigest) streamline the composition of sophisticated messages.

Additional features include persistence to disk in two formats: transport ready (encoded) message format and a quick loading (decoded) object format.

MessagesCollection of Message Objects.
PartUse the Part Object to perform complex manipulation of message parts.
PartListCollection of all Part Objects in the message. Parts are ordered numerically by the Part.Index property.
PartsParts Class
Pop

Use the POP Control to retrieve mail from any POP3 server. Retrieve and store sets of messages in the Messages property.

Powerful default operations are provided, including iteration through a message set to populate the Messages property.

SmtpUse the SMTP Control to send mail to any SMTP server. This control supports popular protocol extensions (ESMTP), provides both Blocking and high performance event-based non-blocking operation, and can be statically placed on a form or dynamically created in virtually any development environment.
Public Enumerations
EnumerationDescription
AttributeConstantsEnumerates the values of the Index parameter of the Attribute property.
CodingConstantsEnumerates encoding/decoding algorithms.
DsnConstantsEnumerates values of the Notify parameter of the DSN method.
FormatConstantsEnumerates the values of the Format parameter of the Store method.
GetConstantsEnumerates values of the Part parameter of the Get method.
ImapMethodConstantsEnumerates values of the Method parameter of the Progress event.
ImapStatusConstantsEnumerates values of the Status parameter of the Progress Event.
LabelConstantsSome HeaderFields Object methods use a symbolic name for the Label parameter. The following labels are specified as the Common Internet Message Headers (these headers are explained in RFC 2076):
MailErrorConstantsEnumerates Mail-Specific Errors
MailPrivacyConstantsEnumerates values of the Privacy property.
PartConstantsEnumerates the values of the Part parameter of the Get method.
PopMethodConstantsEnumerates the values of the Method parameter of the Progress event.
PopStatusConstantsEnumerates the values of the Status parameter of the Progress event.
PutConstantsEnumerates values of the Part parameter of Put method.
ReturnTypeConstantsEnumerates the type of buffer to be returned from a property that returns either a String and Byte array.
SecurityConstantsSecurity Constants
SegmentConstantsEnumerates the message segments.
SmtpMethodConstantsEnumerates values of the Method parameter of the Progress event. Indicates the method that initiated the event.
SmtpStatusConstantsEnumerates values of the Status parameter of the Progress event. Provides success / failure / progress information.
StateConstantsEnumerates values of the State property.
VerifyMethodConstantsEnumerates the return value of the Verify method.

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