Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET POP3

 AfterLogic Forum : MailBee.NET POP3
Subject Topic: What if POP3 server require SSL? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Mhd
Newbie
Newbie


Joined: 18 February 2008
Location: United Kingdom
Online Status: Offline
Posts: 38
Posted: 29 February 2008 at 3:45am | IP Logged Quote Mhd

Hi, we just want to know if this component works with POP server that requires an encrypted connection(SSL)? if so does it need certain configurations to be able with SSL connection?

Regards.
Back to Top View Mhd's Profile Search for other posts by Mhd
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 29 February 2008 at 4:12am | IP Logged Quote Andrew

Yes, MailBee.NET Objects supports both SSL modes (STARTTLS and "on connect"). Useful sample.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
Mhd
Newbie
Newbie


Joined: 18 February 2008
Location: United Kingdom
Online Status: Offline
Posts: 38
Posted: 29 February 2008 at 5:47am | IP Logged Quote Mhd

Why I'm getting the following error for this line of code:
objPOP3.SslMod = MailBee.Security.SslStartupMode.UseStartTls


"Security is not member of MailBee"

Back to Top View Mhd's Profile Search for other posts by Mhd
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 29 February 2008 at 6:07am | IP Logged Quote Andrew

This should work. Make sure "MailBee.Security.SslStartupMode.UseStartTls" doesn't contain a misprint.

Also, make sure you use the latest version of MailBee.NET.dll.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
Mhd
Newbie
Newbie


Joined: 18 February 2008
Location: United Kingdom
Online Status: Offline
Posts: 38
Posted: 29 February 2008 at 6:33am | IP Logged Quote Mhd

I installed just Pop3 component, should I also download Security component?
Back to Top View Mhd's Profile Search for other posts by Mhd
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 29 February 2008 at 6:38am | IP Logged Quote Andrew

MailBee.NET.dll contains all the components included into MailBee.NET Objects bundle. Just make sure you use v3 of MailBee.NET.dll


Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
Mhd
Newbie
Newbie


Joined: 18 February 2008
Location: United Kingdom
Online Status: Offline
Posts: 38
Posted: 29 February 2008 at 6:56am | IP Logged Quote Mhd

Well that error gone after I downloaded mailbee.net.dll but now i'm getting runtime error on the same line says: "Public member 'SslMod' on type 'POP3' not found."
Back to Top View Mhd's Profile Search for other posts by Mhd
 
Mhd
Newbie
Newbie


Joined: 18 February 2008
Location: United Kingdom
Online Status: Offline
Posts: 38
Posted: 29 February 2008 at 7:16am | IP Logged Quote Mhd

I check POP3 object in Object Explorer it does not contain member called 'SslMod' !
Back to Top View Mhd's Profile Search for other posts by Mhd
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 29 February 2008 at 7:59am | IP Logged Quote Alex

You probably incorrectly copy/pasted it. The property name is "SslMode".

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


Joined: 18 February 2008
Location: United Kingdom
Online Status: Offline
Posts: 38
Posted: 29 February 2008 at 1:58pm | IP Logged Quote Mhd

Neither SslMod Nor SslMode are found! I checked it again and tried both words.
Back to Top View Mhd's Profile Search for other posts by Mhd
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 01 March 2008 at 1:32am | IP Logged Quote Alex

1. Does the code compile without "pop.SslMode = SslStartupMode.UseStartTls;" line?

2. To make sure you're using v3 of MailBee.NET Objects, comment "pop.SslMode = SslStartupMode.UseStartTls;" out, enable logging into a file using pop.Log property, then run the code and open the log file. It should contain "Assembly Version 3.x.x.x" line in the beginning of the file.

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


Joined: 18 February 2008
Location: United Kingdom
Online Status: Offline
Posts: 38
Posted: 01 March 2008 at 2:58am | IP Logged Quote Mhd

>Does the code compile without "pop.SslMode = SslStartupMode.UseStartTls;" line?

It compiled in both cases but the error appears at runtime.

here is the first line of the log file:
"MailBee POP3 v. 5.5.0.114. Trial version. 17 day(s) left"
Back to Top View Mhd's Profile Search for other posts by Mhd
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 01 March 2008 at 3:15am | IP Logged Quote Alex

"MailBee POP3 v. 5.5.0.114" indicates that you're not using MailBee.NET POP3 at all.

You're rather using MailBee POP3 component which is a part of "MailBee Objects" ActiveX while MailBee.NET POP3 is a part of "MailBee.NET Objects" assembly.

MailBee Objects and MailBee.NET Objects have different objects model, capabilities and documentation.

If you want to use MailBee Objects (e.g. MailBee POP3), download MailBee Objects

If you want to use MailBee.NET Objects (e.g. MailBee.NET POP3), download MailBee.NET Objects

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


Joined: 18 February 2008
Location: United Kingdom
Online Status: Offline
Posts: 38
Posted: 01 March 2008 at 7:13am | IP Logged Quote Mhd

That was helpfull...thank you.
Back to Top View Mhd's Profile Search for other posts by Mhd
 

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