email

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.

Required Parameters

  • 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:

S

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

This site is using OpenAvatar based on