LicenseKey Property
License key of MailBee SMIME/SSL plugin.
If this property is not set to the valid license key, SSL connection
will not be established.
To determine whether supplied LicenseKey is valid, use Licensed
property.
Note: You must set LicenseKey BEFORE attaching
SSL object to the mailer object.
| Value Type: | String | |
| Parameters: | None | |
| Remarks: | This property is write-only. Any attempt to read it will return empty string | |
Usage example:
Dim Mailer, SSL 'Using visual basic to create object Set Mailer = CreateObject("MailBee.SMTP") Set SSL = CreateObject("MailBee.SSL") 'Using ASP to create object 'Set Mailer = Server.CreateObject("MailBee.SMTP") '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 SMTP SSL.LicenseKey = "put your SSL or trial license key here" ' Set license key for SSL plugin
Set Mailer.SSL = SSL ' Attach SSL to Mailer object If Mailer.SSL.Licensed Then MsgBox "SSL plugin is ready for use" Else MsgBox Mailer.ErrDesc End If
See Also:
Copyright 2002-2008, AfterLogic Corporation. All rights reserved.