Licensed Property


True if MailBee.IMAP4 object can be used. This means correct LicenseKey has been assigned, and trial period is not yet expired or registered version is used.

To determine license status (is registered version used, number of days trial version will function yet) enable logging on and look into log file.


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.EnableLogging = True ' Enable logging and clear log file
Mailer.LogFilePath = "C:\my_log.txt"
Mailer.ClearLog

Mailer.LicenseKey = "put your license key here" ' Set license key

If Mailer.Licensed Then
  MsgBox "IMAP4 object is ready for use"
Else
  MsgBox Mailer.ErrDesc
End If

See Also:

LicenseKey Property
ErrCode Property
ErrDesc Property

EnableLogging Property
LogFilePath Property


Copyright © 2002-2022, AfterLogic Corporation. All rights reserved.