Product Logo

SMTPit Pro

A Feature-rich Email plug-in




You can use this function to Register the plug-in from a script instead of through the Configuration Dialog. This is useful when the plug-in is being distributed to many computers, allowing you to intall and register the plug-in without having to physically visit each computer. This function also allows you to check if the plug-in is already registered or clear the current registration. The plug-in always requires you to accept the License Agreement to use the plug-in. This is usually done by presenting the License Agreement Dialog, but that can be suppressed by using the special option value “I Accept the License Agreement”.

Return TypeText
FormatSMTPit_Register ( FirstName ; LastName ; LicenseKey ; Option )
Required Parameters

The Registration First Name you specified when you ordered. (See your Receipt.)


The Registration Last Name you specified when you ordered. (See your Receipt.)


The License Key from your Receipt.

Optional Parameters

Specify “Dialog” to enter your Registration Information in a dialog.
Specify “Check” to see if the plug-in is already Registered.
Specify “Clear” to remove the Registration.
Specify “I Accept the License Agreement” to automatically accept the License Agreement dialog without showing it to the end user.
Notes: The “Dialog”, “Check”, and “Clear” options can also be specified as the first parameter.

Example 1

Registers the plug-in with the provided registration information (obviously the above is not valid registration information; please see your Receipt).

SMTPit_Register( "My First Name" ; "My Last Name" ; "My License Key" )
Example 2

Displays a dialog for you to enter your First Name, Last Name, and License Key as it appears on your Receipt.

SMTPit_Register( "Dialog" )
Example 3

Returns "Not Registered." or "Registered to <name> for a <license>."

SMTPit_Register( "Check" )
Example 4

Registers the plug-in and uses the "I Accept the License Agreement" option to keep the License Agreement dialog from appearing.

SMTPit_Register( "License Key First Name" ; "License Key Second Name" ; "12345-12345-12345-12345-12345" ; "I Accept the License Agreement" )