Author |
|
alexmayer666 Newbie
Joined: 22 March 2011 Location: United States
Online Status: Offline Posts: 1
|
Posted: 22 March 2011 at 8:56pm | 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.
Thanks,
www.aryanic.com
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 23 March 2011 at 3:02am | IP Logged
|
|
|
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 |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 23 March 2011 at 4:32am | IP Logged
|
|
|
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 |
|
|