NetXtreme SMTP Component for C#, VB.NET & ASP.NET
| Author |
|
| Company |
Safabyte |
| Source Code Available |
No |
| License Type |
Free to try |
| Submitted On |
June 03, 2009 |
| Updated on |
June 15, 2009 |
| .NET Framework |
2.0, 3.5 |
| Cost |
$149 |
Description
NetXtremeSmtp is a powerful suite which allows you to quickly send mail messages using with a few lines of code. With NetXtremeMime and NetXtremeSmtp, you can easily create, and send Plain Text/Html mail messages through Smtp server, attach file or content data from stream. MIME is also supported by NetXtremeMime which allows you to read mail message from file (.eml extension) or stream, sign/verify, encrypt/decrypt, extracts mail message headers and bodies and retrieve attachments.
NetXtremeSmtp is also included in the following suites which are bundles that include many additional components:
NetXtremeNetworkPro Suite
NetXtremeMailPro Suite
NetXtremeMailMerge Suite
NetXtremeBounceFilter Component
Major Features:
Sending mail securely with SmtpClient.
Secure MIME (S/MIME) support.
Firewall and Proxy support.
SSL2, SSL3, PCT and TLS support.
X509 Certificate Management support.
Supports IPv6.
100% managed code written in C#.
Fully documented and 20 Sample projects written in C#, VB.NET and ASP.NET.
Syntax Example
// Create a new instance of the MailMessage class.
MailMessage mailMessage = new MailMessage();
mailMessage.From.Add("from@thedomain.com");
mailMessage.To.Add("sfbmailtest@gmail.com");
mailMessage.Subject = "Mail Message Test Subject";
mailMessage.BodyText = "Mail Message Test Content";
// Initialize security settings.
TlsSslSecuritySettings ss = new TlsSslSecuritySettings();
ss.ServerName = serverName;
ss.CertificateValidator =
CertificateValidators.AcceptAllValidator;
// Allows all suites.
ss.Suites = TlsSslCipherSuite.All;
// Supports SSL3.0 and TLS1.0.
ss.ProtocolVersion = TlsSslProtocolVersionFlag.SSL30
| TlsSslProtocolVersionFlag.TLS10;
Console.WriteLine("Connecting SMTP server: {0}:{1}...",
serverName, port);
// Connect to the server.
SmtpClient client = new SmtpClient();
client.Connect(serverName, port, ss, securityMode);
// Login to the server.
Console.WriteLine("Logging in as {0}...", user);
client.Login(user, password);
Console.WriteLine("Sending message...");
client.Send(mailMessage);
Console.WriteLine("Message sent...");
// Disconnect.
Console.WriteLine("Disconnecting...");
client.Disconnect();Screenshots
Reviews
Submit a review