LicenseKey Property


License Key of your copy of MailBee.POP3 component.

This property must be set to correct value in order to successfully run MailBee.POP3 object. When Connect method is called, it checks LicenseKey first. If LicenseKey is invalid or expired, connection to POP3 server is aborted.


Value Type: String
Parameters: None 
Remarks: This property is write-only

Usage example:

Dim Mailer
'Using visual basic to create object
Set Mailer = CreateObject("MailBee.POP3")
'Using ASP to create object
'Set Mailer = Server.CreateObject("MailBee.POP3")
'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 "POP3 object is ready for use"
Else
  MsgBox Mailer.ErrDesc
End If

See Also:

Licensed Property
ErrDesc Property
EnableLogging Property
LogFilePath Property


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