HomeCommunityControl GalleryMiscellaneousEmail.NET Bounced Emails Filter Component

.NET Bounced Emails Filter Component



Submit a Review

132 Downloads

4,194 Views


Description

With NetXtremeBounceFilter library, your web applications, windows application and web services can easily categorize bounced e-mail messages with a few lines of code. The result after processing can be used to update your address list, create reports, etc. You do not need to have knowledge of how IMAP, POP3 and EML parser are implemented. NetXtremeBounceFilter does all such difficult tasks for you. You can quickly integrate our NetXtremeBounceFilter component into your WinForms application with just doing Drag and Drop from the Visual Studio Toolbox on your WinForms. NetXtremeBounceFilter is also included in the following suites which are bundles that include many additional components: * NetXtremeNetworkPro Suite * NetXtremeMailProSuite Suite

Syntax Example

// Create a new instance of the BounceFilter class. BounceFilter filter = new BounceFilter(); // Process all EML files in directory 'c:\\temp'. BounceFilterResultCollection result = filter.ProcessMessages("c:\\temp"); // Display processed emails.foreach (BounceFilterResult r in result) { // If this message was identified as a bounced email message.if (r.Identified) { // Print out the result Console.Write("FileName: {0}\nSubject: {1}\nAddress: {2}\n" + "Bounce Category: {3}\n" + "Bounce Type: {4}\nDeleted: {5}\n" + "DSN Action: {6}\n" + "DSN Diagnostic Code: {7}\n\n", System.IO.Path.GetFileName(r.FileName), r.MailMessage.Subject, r.Addresses[0], r.BounceCategory.Name, r.BounceType.Name, r.FileDeleted, r.Dsn.Action, r.Dsn.DiagnosticCode); } } Console.WriteLine("{0} bounced message found", result.BounceCount);

Screenshots

Reviews

Submit a review