Can MailBee.NET SMTP send messages through

From AfterLogic Wiki

Jump to: navigation, search allows using SSL connections only. You should make sure you can check mail via Outlook Express or Mozilla Thunderbird and then apply the same settings to MailBee.NET. The following link describes SSL and other settings for

To learn how to enable SSL in MailBee ActiveX, see SslMode property documentation.

The following sample code allows sending mail via SMTP service:

using MailBee;
using MailBee.SmtpMail;
using MailBee.Security;
using MailBee.Mime;

Smtp.LicenseKey = "trial or permanent license key";
Smtp mailer = new Smtp();

SmtpServer server = new SmtpServer("", "", "password");
server.SslMode = SslStartupMode.UseStartTls;

mailer.From.DisplayName = "My Name";
mailer.From.Email = "";

mailer.To.AsString = "";
mailer.Subject = "Report";
mailer.BodyHtmlText = "<html>This is the report.</html>";
Console.WriteLine("Will send to: " + mailer.Message.GetAllRecipients());
Console.WriteLine("Sent to: " + mailer.GetAcceptedRecipients());