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: MailAttachmentDownloaderPluginAPIAssembly: 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
)
Sub AfterProcessingEmail (
account As String,
uniqueID As String,
processedFiles As List(Of String),
message As MailMessage
)
void AfterProcessingEmail(
String^ account,
String^ uniqueID,
List<String^>^ processedFiles,
MailMessage^ message
)
abstract AfterProcessingEmail :
account : string *
uniqueID : string *
processedFiles : List<string> *
message : MailMessage -> unit
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