/** * sendCustomerNotification() method send an-mail when the account is created * * @param int $iCountryId * @return bool */ protected static function sendCustomerNotification($iIsoLang, $sEmail, $sPassword, $sFirstName, $sLastName) { // set params if (!empty($iIsoLang) && !empty($sEmail) && !empty($sPassword) && !empty($sFirstName) && !empty($sLastName)) { require_once _FPC_PATH_LIB . 'mail-send_class.php'; $aParams = array(); $aParams['isoId'] = $iIsoLang; $aParams['email'] = $sEmail; $aParams['password'] = $sPassword; $aParams['firstname'] = $sFirstName; $aParams['lastname'] = $sLastName; BT_FpcMailSend::create()->run('customerAccountNotification', $aParams); } }