Search The ForumSearch   RegisterRegister  LoginLogin

MailBee IMAP4

 AfterLogic Forum : MailBee IMAP4
Subject Topic: Mulberry.. Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
alexmayer666
Newbie
Newbie
Avatar

Joined: 22 March 2011
Location: United States
Online Status: Offline
Posts: 1
Posted: 22 March 2011 at 8:56pm | IP Logged Quote alexmayer666

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.

Thanks,

www.aryanic.com
Back to Top View alexmayer666's Profile Search for other posts by alexmayer666
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6037
Posted: 23 March 2011 at 3:02am | IP Logged Quote Igor

You can try using ServerResponse or ServerStatusResponse properties of IMAP, but
I believe they wouldn't return what you're looking for.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 23 March 2011 at 4:32am | IP Logged Quote Alex

ServerResponse returns the last response which is usually the result of authentication. But you can disable authentication and MailBee will do nothing but connect to the server. And you can grab the server name from there (if the server reports it). For instance:

Code:

Set IMAP = CreateObject("MailBee.IMAP4")
IMAP.LicenseKey = "your key"
IMAP.AuthMethod = 16
IMAP.Connect "mail.afterlogic.com"
MsgBox IMAP.ServerResponse
IMAP.Disconnect

displays:
Code:

* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2010 Double Precision, Inc.  See COPYING for distribution information.


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