Author |
|
Mhd Newbie
Joined: 18 February 2008 Location: United Kingdom
Online Status: Offline Posts: 38
|
Posted: 29 February 2008 at 3:45am | IP Logged
|
|
|
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 |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 29 February 2008 at 4:12am | IP Logged
|
|
|
Yes, MailBee.NET Objects supports both SSL modes (STARTTLS and "on connect"). Useful sample.
Best regards,
Andrew
|
Back to Top |
|
|
Mhd Newbie
Joined: 18 February 2008 Location: United Kingdom
Online Status: Offline Posts: 38
|
Posted: 29 February 2008 at 5:47am | IP Logged
|
|
|
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 |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 29 February 2008 at 6:07am | IP Logged
|
|
|
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 |
|
|
Mhd Newbie
Joined: 18 February 2008 Location: United Kingdom
Online Status: Offline Posts: 38
|
Posted: 29 February 2008 at 6:33am | IP Logged
|
|
|
I installed just Pop3 component, should I also download Security component?
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 29 February 2008 at 6:38am | IP Logged
|
|
|
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 |
|
|
Mhd Newbie
Joined: 18 February 2008 Location: United Kingdom
Online Status: Offline Posts: 38
|
Posted: 29 February 2008 at 6:56am | IP Logged
|
|
|
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 |
|
|
Mhd Newbie
Joined: 18 February 2008 Location: United Kingdom
Online Status: Offline Posts: 38
|
Posted: 29 February 2008 at 7:16am | IP Logged
|
|
|
I check POP3 object in Object Explorer it does not contain member called 'SslMod' !
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 29 February 2008 at 7:59am | IP Logged
|
|
|
You probably incorrectly copy/pasted it. The property name is "SslMode".
Regards,
Alex
|
Back to Top |
|
|
Mhd Newbie
Joined: 18 February 2008 Location: United Kingdom
Online Status: Offline Posts: 38
|
Posted: 29 February 2008 at 1:58pm | IP Logged
|
|
|
Neither SslMod Nor SslMode are found! I checked it again and tried both words.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 01 March 2008 at 1:32am | IP Logged
|
|
|
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 |
|
|
Mhd Newbie
Joined: 18 February 2008 Location: United Kingdom
Online Status: Offline Posts: 38
|
Posted: 01 March 2008 at 2:58am | IP Logged
|
|
|
>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 |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 01 March 2008 at 3:15am | IP Logged
|
|
|
"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 |
|
|
Mhd Newbie
Joined: 18 February 2008 Location: United Kingdom
Online Status: Offline Posts: 38
|
Posted: 01 March 2008 at 7:13am | IP Logged
|
|
|
That was helpfull...thank you.
|
Back to Top |
|
|