Dart Smtp, Pop, Imap Controls
Progress Event
Indicates the method that the event pertains to.
Indicates the status of the method.
Specifies the server reply related to the status.
Specifies the server-side message the event pertains to. This value corresponds to the message's Attribute(msgNumber) property.
Specifies the number of bytes that have been received (so far) for the transfer that is currently in progress. The value normally falls between 0 and Size. Only valid when Status is imapContent, and is 0 at other times.
Specifies the total number of bytes in the message transfer currently in progress. This value is constant during any single transfer. Only valid when Status is imapContent, and is 0 at other times.
Description
Fires when a method has completed, the server has sent a reply, or progress information is available.
Syntax
Visual Basic
Public Event Progress( _
   ByVal Method As ImapMethodConstants, _
   ByVal Status As ImapStatusConstants, _
   ByVal Reply As String, _
   ByVal MessageNumber As Long, _
   ByVal Count As Long, _
   ByVal Size As Long _
)
Parameters
Method
ValueDescription
imapCommandCommand method.
imapCopyCopy method.
imapDeleteDelete method.
imapGetGet method.
imapIdleIdle.
imapLoginLogin method.
imapLogoutLogout method.
imapMailboxAddMailbox Add method.
imapMailboxesAddMailboxes Add method.
imapMailboxesRefreshRefresh method.
imapMailboxRefreshMailbox Refresh method.
imapPurgePurge method.
imapPutPut method.
imapRemoveRemove method.
imapRenameRename.
imapSearchSearch method.
imapSubscribeSubscribe method.
imapUndeleteUndelete method.
imapUnknownUnknown command.
imapUnsubscribeUnsubscribe method.
Indicates the method that the event pertains to.
Status
ValueDescription
imapBadServer has responded with a status indicating bad syntax.
imapByeServer has indicated that it is about to close the connection.
imapContentIndicates intermediate events during the receipt of a mail message. Useful for percentage indication on a status display.
imapInfoServer has supplied information.
imapNoServer has responded with a negative status.
imapOkMethod has completed with a positive status.
Indicates the status of the method.
Reply
Specifies the server reply related to the status.
MessageNumber
Specifies the server-side message the event pertains to. This value corresponds to the message's Attribute(msgNumber) property.
Count
Specifies the number of bytes that have been received (so far) for the transfer that is currently in progress. The value normally falls between 0 and Size. Only valid when Status is imapContent, and is 0 at other times.
Size
Specifies the total number of bytes in the message transfer currently in progress. This value is constant during any single transfer. Only valid when Status is imapContent, and is 0 at other times.
Remarks
Use the Trace method to gather protocol-level data if Reply is inadequate.
Example

Imap Object

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