HomeCommunityControl GalleryComponents.NET Email Verifier Component for C#,VB

.NET Email Verifier Component for C#,VB



Submit a Review

39 Downloads

3,722 Views


Description

NetXtremeEmailVerifier is a versatile component for validating email-addresses. It allows you to add email address validation to both .NET WinForm and WebForm applications. Developers are able to detect invalid email through validation syntax, check bad or accepted email addressed with Black List and White List. By setting validation level to its maximum level, email address will go through 6 checking levels: address syntax, black and white lists, Mail Exchange records, Smtp Connection and Mail box. Furthermore, developers can verify email-addresses by using multiple-threads through the system thread pool.

Syntax Example

staticvoid Main(string[] args) { // Create a new instance of emails in the EmailVerifier class. EmailVerifier em = new EmailVerifier(); // Register event handler. em.EmailVerificationCompleted += verificationCompleted; string[] list = newstring[3] { "test1@testdomain.com", "test2@testdomain.com", "test3@testdomain.com" }; // Verify the list. em.VerifyEmails(list); } staticvoid verificationCompleted(EmailVerifier sender, EmailVerifierEventArgs e) { if (e.VerifiedLevel == VerificationLevel.Success) Log(e.ThreadId + " : " + e.EmailAddress + " verification done"); else Log(e.ThreadId + " : " + e.EmailAddress + " verification failed at " + e.VerifiedLevel); } staticvoid Log(string msg) { Console.WriteLine(msg); }

Screenshots

Reviews

Submit a review