LicenseKey Property


License key of your copy of MailBee.IMAP4 component.

If this property is not set to valid license key, IMAP4 object will not connect to IMAP4 server.

To determine whether supplied LicenseKey is valid, use Licensed property.


Value Type: String
Parameters: None 
Remarks: This property is write-only. Any attempt to read it will return empty string

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
Mailer.LogFilePath = "C:\my_log.txt"
Mailer.ClearLog
Mailer.LicenseKey = "put your license key here"
If Mailer.Licensed Then
  MsgBox "IMAP4 object is ready for use"
Else
  MsgBox Mailer.ErrDesc
End If

See Also:

Licensed Property
ErrDesc Property

EnableLogging Property
LogFilePath Property


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