- Products
- Purchase
Order Online Maintenance Renewal Resellers - Support
Helpdesk Online Documentation Web Forum - Our Clients
- About
About us Services Contact
Can MailBee.NET SMTP send messages through Hotmail.com/Live.com?
MailBee.NET Objects
MailBee.NET Objects
MailBee.NET Objects
SMTP
SMTP
SMTP
SSL
SSL
SSL
Gmail
Gmail
Gmail
send mail
send mail
send mail
Live.com 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 Live.com:
http://windowslivehelp.com/solutions/settings/archive/2009/01/06/send-and-receive-windows-live-hotmail-emails-from-a-mail-client.aspx
To learn how to enable SSL in MailBee ActiveX, see SslMode property documentation.
The following sample code allows sending mail via Live.com SMTP service:
http://windowslivehelp.com/solutions/settings/archive/2009/01/06/send-and-receive-windows-live-hotmail-emails-from-a-mail-client.aspx
To learn how to enable SSL in MailBee ActiveX, see SslMode property documentation.
The following sample code allows sending mail via Live.com 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("smtp.live.com", "email@live.com", "password");
server.SslMode = SslStartupMode.UseStartTls;
mailer.SmtpServers.Add(server);
mailer.From.DisplayName = "My Name";
mailer.From.Email = "email@live.com";
mailer.To.AsString = "recipient@domain.com";
mailer.Subject = "Report";
mailer.BodyHtmlText = "<html>This is the report.</html>";
Console.WriteLine("Will send to: " + mailer.Message.GetAllRecipients());
mailer.Send();
Console.WriteLine("Sent to: " + mailer.GetAcceptedRecipients());
Console.ReadLine();