Rebex Secure Mail for .NET/.NET CF Features - SMTP

SMTP is the protocol for sending internet mail. It was defined
in RFC 821,
later refined in RFC 2821.
A number of extensions also exists.
Major features
- Send mail using a single line of code.
- Send mail from a disk file or stream.
- Send any MailMessage
or MimeMessage instance
(arbitrary number of body views, attachments, ...)
- Automatically detects and uses supported SMTP extensions.
- Binary MIME and 8bit MIME messages supported.
- Chunking and pipelining for better performance.
- Delivery status notifications.
- Both synchronous and asynchronous operations. Designed according
to .NET Framework asynchronous operations design patterns.
- Authentication to the SMTP server.
- Send directly to recipient's SMTP server (no local SMTP server is needed).
- Events can raised when command is sent, response is receiving,
data is transferred or recipient is rejected.
- Custom commands and enhanced status codes.
- ETRN (enhanced turn) command support.
- VRFY (verify) command support.
- Proxy support.
- Compatible with both state-of-the-art and legacy SMTP servers.
- Compliant with RFC 2821, 1891, 1893, 1985, 2034, 2197, 2554, 3030, etc.
- SMTP over TLS/SSL, both implicit and explicit security.
Supported authentication methods
- Auto - automatically choose the best method available.
- Plain - RFC 2595 plaintext authentication.
- NTLM - Integrated Microsoft Windows Authentication.
- SPNEGO/Negotiate (GSSAPI) - Integrated Microsoft Windows Authentication.
- Digest-MD5 - RFC 2831 DIGEST-MD5 authentication.
- CRAM-MD5 - RFC 2195 CRAM-MD5 authentication.
- Login - 'LOGIN' plaintext authentication.
Sample usage
This sample demonstrates sending a very simple e-mail message.
C#
using Rebex.Net;
...
Smtp.Send
(
"from@example.org",
"to@example.org",
"Mail subject",
"Hello from Rebex!",
"smtp.example.org",
);
VB.NET
Imports Rebex.Net
...
Smtp.Send( _
"from@example.org", _
"to@example.org", _
"Mail subject", _
"Hello from Rebex!", _
"smtp.example.org")