Search The ForumSearch   RegisterRegister  LoginLogin

MailBee S/MIME

 AfterLogic Forum : MailBee S/MIME
Subject Topic: installing ssl/smime plugin with MailBee Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
kiekar
Newbie
Newbie


Joined: 31 December 2006
Location: Canada
Online Status: Offline
Posts: 7
Posted: 31 December 2006 at 2:50pm | IP Logged Quote kiekar

Hello,

A short time ago I installed WebMail Lite for ASP.net. I am using hmailserver as my SMTP and POP mail server. Can I use the MailBee SSL/SMIME specifically TLS with the lite version of WebMail? How do I use the plugin? Do I need to modify the aspx file or js file? and if so, which one.

Thanks

Karl
Back to Top View kiekar's Profile Search for other posts by kiekar
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2179
Posted: 01 January 2007 at 5:08am | IP Logged Quote Alex

Actually, MailBee WebMail Lite ASP.NET edition is powered by MailBee.NET Objects, not MailBee Objects (which is ActiveX library).

MailBee SSL/SMIME plugin is for MailBee Objects. MailBee.NET Objects, however, already includes basic SSL functionality into the regular license.

Thus, to make WebMail Lite (ASP.NET) connect to TLS enabled server and then switch to secure connection, find ConnectPop3Object method in WebMailPop3 class (functions.cs) and insert:
Code:

pop.SslMode = SslStartupMode.UseStartTls;

BEFORE:
Code:

pop.Connect(strHostVal, intPortVal, true);


If you also want to use TLS for sending messages, then find SendMessage method in WebMailSmtp class (same file), and insert:
Code:

smtp.SmtpServers[0].SslMode = Security.SslStartupMode.UseStartTls;

AFTER:
Code:
smtp.SmtpServers.Add(smtpServer, smtpLogin, smtpPassword);


Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide