This API call is used for resending an initial license email to the end user. This “initial license email” contains their license activation code.
Functional Limitation Notice: If the end user has a single email associated with many licenses, then only the first license will be emailed to the end user.
- email = (string) the end user’s email address.
Quick PHP Example
Note that GetAlias( ) should be your function that grabs the license alias stored locally. MachineCode( ) should be a function that generates a code unique only to the machine that is running your deployed software.
$params = array( 'call' => 'deactivate', 'apikey' => YOUR_API_KEY, 'code' => GetAlias(), 'mach' => MachineCode() ); $result = LicenseAPI($params);
Successful Return String
deactivate returns a single-character string “S” on success:
Unsuccessful Return String
A single-character string is also returned upon an unsuccessful attempt to email the end user:
U: Unable to send email. The email configuration settings for your development account need attention!
F: The end user’s email was not found.