Definition for various different EventType's. See description for each event for more detail on when these are generated.

Namespace: MailAttachmentDownloaderApi
Assembly: MailAttachmentDownloaderApi (in MailAttachmentDownloaderApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public enum ProcessMailEventType

Members

Member nameValueDescription
MailNotConnected0 This is the default state when the platform is not connected to the mail server before the platform establishes the connection to the mail server.
MailLoggingIn1 This event is generated when the platform is logging you in to the mail account using the username and password.
MailLoggedIn2 This event is generated when the platform has successfully logged into the mail account.
MailLoginError3 This event is generated when the platform is not successful with logging you in to the server.
MailLoginErrorNonFatal4 This event is generated when the platform is not successful with logging one of the worker threads (likely due to server rejecting many simultaneous connections).
MailLoadingStarted5 This event is used internally. It will not be generated by this API.
MailLoadingComplete6 This event is used internally. It will not be generated by this API.
MailFolderListStarting7 This event is generated when the StartListFolders()()()() is called and the listing process has started.
MailFolderListComplete8 This event is generated when the StartListFolders()()()() is called and the listing process is complete. The resulting root IFolder can be obtained from RootFolder. Child folders can be obtained by walking through the list of child folders, see IFolder interface for more details.
MailFolderListError9 This event is generated when the StartListFolders()()()() is called and the listing process finished with an error.
MailFolderDownloadStarted10 This event is generated when the StartDownloadingAttachments()()()() is called and the folder download has started for a given folder. The name of the folder that has started downloading can be obtained from FilenameOrFolder property.
MailFolderDownloadCompleteWithFiles11 This event is generated when the StartDownloadingAttachments()()()() is called and the folder download has completed for a given folder with some files downloaded. The name of the folder that has completed downloading can be obtained from FilenameOrFolder property. To obtain the total number of files downloaded successfully or with errors across all folders thus far, see IDownloadStats.
MailFolderDownloadCompleteWithNoFiles12 This event is generated when the StartDownloadingAttachments()()()() is called and the folder download has completed for a given folder without any files downloaded. The name of the folder that has completed downloading can be obtained from FilenameOrFolder property. To obtain the total number of files downloaded successfully or with errors across all folders thus far, see IDownloadStats.
MailFolderDownloadCanceled13 This event is generated when the StartDownloadingAttachments()()()() is called and the folder download has been cancelled. The name of the folder that was cancelled can be obtained from FilenameOrFolder property. To obtain the total number of files downloaded successfully or with errors across all folders thus far, see IDownloadStats.
MailFolderSelectError14 This event is generated when the StartDownloadingAttachments()()()() is called and selecting the folder failed (for example, when the folder no longer exists on the server).
MailFolderDownloadError15 This event is generated when the StartDownloadingAttachments()()()() is called and the folder download had an error. The name of the folder that had the error can be obtained from FilenameOrFolder property. To obtain the total number of files downloaded successfully or with errors across all folders thus far, see IDownloadStats.
MailSearchStarting16 This event is generated when the StartDownloadingAttachments()()()() is called and the platform is searching for mail within a given folder.
MailSearchComplete17 This event is generated when the StartDownloadingAttachments()()()() is called and the platform has completed searching for mail with attachments within a given folder.
MailSearchError18 This event is generated when the StartDownloadingAttachments()()()() is called and the platform encountered an error when searching for mail within a given folder. This would normally be followed by a MailFatalUnknown error, triggering the end of the StartDownloadingAttachments()()()() operation.
MailProcessSearchResults19 This event is generated by the platform for every message that is processed when the StartDownloadingAttachments()()()() is called.
MailDownloadStarted20 This event is generated by the platform for every attachment that is being downloaded after the StartDownloadingAttachments()()()() was called. The name of the file that is being downloaded can be obtained from FilenameOrFolder property.
MailDownloading21 This event is generated by the platform for every few blocks of data that is being downloaded after the StartDownloadingAttachments()()()() was called. The name of the file that is being downloaded can be obtained from FilenameOrFolder property.
MailDownloadComplete22 This event is generated when the platform successfully downloads an attachment after the StartDownloadingAttachments()()()() was called. The name of the file that was downloaded can be obtained from FilenameOrFolder property.
MailDownloadError23 This event is generated when the platform encountered an error when downloading an attachment after the StartDownloadingAttachments()()()() was called. The name of the file that resulted in an error can be obtained from FilenameOrFolder property.
MailSaving24 This event is generated by the platform for every attachment that is being saved after the StartDownloadingAttachments()()()() was called. The name of the file that is being saved can be obtained from FilenameOrFolder property.
MailSaved25 This event is generated by the platform for every attachment that has been saved after the StartDownloadingAttachments()()()() was called. The name of the file that has been saved can be obtained from FilenameOrFolder property.
MailSaveError26 This event is generated by the platform for every attachment that resulted in a save error after the StartDownloadingAttachments()()()() was called. The name of the file that encountered the error can be obtained from FilenameOrFolder property.
MailSearchAndDownloadComplete27 This event is used internally.
MailSearchAndDownloadCanceled28 This event is used internally.
MailSearchAndDownloadWorkerComplete29 This event is used internally.
MailSearchAndDownloadWorkerCanceled30 This event is used internally.
MailUserAction31 This event is used internally.
MailUnknown32 This event is used internally.
MailLog33 This event is used internally.
MailFatalUnknown34 When either StartDownloadingAttachments()()()() or StartListFolders()()()() results in a fatal error that stops the platform from further execution of those functions, this error is raised.

See Also