Licensed Property


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


Value Type: Boolean
Parameters: None 
Remarks: This property is read-only

Usage example:

Dim Mailer, SSL
'Using visual basic to create object
Set Mailer = CreateObject("MailBee.POP3")
Set SSL = CreateObject("MailBee.SSL")
'Using ASP to create object
'Set Mailer = Server.CreateObject("MailBee.POP3")
'Set SSL = Server.CreateObject("MailBee.SSL")
'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 for POP3
SSL.LicenseKey = "put your SSL or trial license key here" ' Set license key for SSL plugin
Set Mailer.SSL = SSL If Mailer.SSL.Licensed Then MsgBox "SSL plugin is ready for use" Else MsgBox Mailer.ErrDesc End If

See Also:

LicenseKey Property


Copyright 2002-2008, AfterLogic Corporation. All rights reserved.