I couldn't be sure on what you have added, but the code pasted at the very below part of
addon_pmail_options.php, should look like:
if($action=='pmail'){
$loginLogout='<input type="button" name="submbut" value="'.$l_pmSend.'" class="inputButton" tabindex="5" onclick="JavaScript:submitForm();" />'.str_replace('\\', '', $previewButton);
}
After logging in with your Customer details, you can use the
Compiler to build the compiled version of the miniBB with all of Premium add-ons you purchased. The Compiler generates the proper codes and so far doesn't withdraw downloads amount from add-ons. After compilation, you can compare all necessary codes for validity in your custom installation.