Click or drag to resize
IEmailProcessingAfterProcessingEmail Method
This is invoked after processing emails including any configured post download action. This is invoked only once for every email. Any processing must be idempotent.

This function may be invoked from multiple threads simultaneously for different emails for parallel processing.

public void AfterProcessingEmail(string account, string uniqueID, List<string> processedFiles, MailMessage message)
{
    Console.WriteLine("Processed email: " + message.Subject);
}

Namespace: MailAttachmentDownloaderPluginAPI
Assembly: MailAttachmentDownloaderPluginAPI (in MailAttachmentDownloaderPluginAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
void AfterProcessingEmail(
	string account,
	string uniqueID,
	List<string> processedFiles,
	MailMessage message
)

Parameters

account
Type: SystemString
The email account that is being used to download this attachment.
uniqueID
Type: SystemString
The uniqueID for the email.
processedFiles
Type: System.Collections.GenericListString
This includes the list of all processed files (fully qualified including the path) for this email. This includes not only the attachments but also documents that were converted, for example.
message
Type: System.Net.MailMailMessage
The email message.
See Also