Author |
|
OptionExplicit Newbie
Joined: 06 December 2007
Online Status: Offline Posts: 8
|
Posted: 06 December 2007 at 2:51pm | IP Logged
|
|
|
Mulberry shows these details of an IMAP account:
Greeting: * OK Dovecot ready.
Can I get this greeting with MailBee IMAP ActiveX? I want to find out if the IMAP server I'm connected to is Dovecot or Courier.
Regards!
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 07 December 2007 at 6:55am | IP Logged
|
|
|
It's possible in MailBee Objects 5.5:
Code:
Dim Mailer
Set Mailer = CreateObject("MailBee.IMAP4")
Mailer.LicenseKey = "put your license key here"
Mailer.ServerName = "mailserver.com"
Mailer.AuthMethod = 16
Mailer.Connect
MsgBox Mailer.ServerResponse
Mailer.Disconnect |
|
|
"IMAP.AuthMethod = 16" makes the trick. It forces MailBee IMAP component to connect to IMAP server without logging in, so you're able to get IMAP greeting via IMAP.ServerResponse property. However, it's not possible to perform login in such case and you have to disconnect from the server. If you need to login, you should connect again with "IMAP.AuthMethod = 0".
Best regards,
Andrew
|
Back to Top |
|
|
OptionExplicit Newbie
Joined: 06 December 2007
Online Status: Offline Posts: 8
|
Posted: 07 December 2007 at 8:17am | IP Logged
|
|
|
Andrew, thank you very much for your very helpful answer!
Yes, "IMAP.AuthMethod = 16" does the trick and is working really fine!
Thanks again!
|
Back to Top |
|
|