Connected Property
Indicates whether MailBee.IMAP4 object is connected to the IMAP4 server
Value Type: | Boolean | |
Parameters: | None | |
Remarks: | This property is read-only |
Usage example:
Dim Mailer 'Using visual basic to create object Set Mailer = CreateObject("MailBee.IMAP4") 'Using ASP to create object 'Set Mailer = Server.CreateObject("MailBee.IMAP4") 'In ASP use Response.Write instead of MsgBox Mailer.LicenseKey = "put your license key here" Mailer.ServerName = "mailserver.com" Mailer.UserName = "MyName" Mailer.Password = "MyPassword" Mailer.Connect If Mailer.Connected Then MsgBox "Connected successfully" Mailer.Disconnect End If
See Also:
Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.