HomeCommunityControl GalleryMiscellaneousEmail.NET Mail Components

.NET Mail Components



Submit a Review

543 Downloads

5,859 Views


Description

SfbMail is a powerful suite which allows you to quickly send mail messages using SfbSmtp with a few lines of code. With SfbMail and SfbSmtp, you can easily create, send and receive Plain Text/Html mail messages through Smtp server and Pop3 server, attach file or content data from stream. In addition, you can easily manage mail message on a remote server with SfbImap securely. MIME is also supported by SfbMail which allows you to read mail message from file (.eml extension) or stream, extracts mail message headers and bodies and retrieve attachments.

Syntax Example

// Initialize security settings. TlsSslSecuritySettings securitySettings = new TlsSslSecuritySettings(); securitySettings.ServerName = serverName; securitySettings.CertificateValidator = CertificateValidators.AcceptAllValidator; // Allows all suites. securitySettings.Suites = TlsSslCipherSuite.All; // Supports SSL3.0 and TLS1.0. securitySettings.ProtocolVersion = TlsSslProtocolVersionFlag.SSL30 | TlsSslProtocolVersionFlag.TLS10; Console.WriteLine("Connecting POP3 server: {0}:{1}...", serverName, port); // Connect to the server. client.Connect(serverName, port, securitySettings, securityMode); // Login to the server. Console.WriteLine("Logging in as {0}...", user); client.Login(user, password); // You can get the list of messages, download messages here // ... // Disconnect. Console.WriteLine("Disconnecting..."); client.Disconnect();

Screenshots

Reviews

Submit a review