Add: maestro extension php, send e-mail
This commit is contained in:
1 parent
6ed7028e90
commit
d431371aa3
7 files changed
+510
No files matched your search
@@ -141,6 +141,42 @@ function sendMailUpdateMaestroEmail($maestro_name, $maestro_email, $maestro_emai
|
||||
}
|
||||
|
||||
|
||||
function sendMailExtensionBankInfo($maestro_name, $available_date, $new_available_date, $maestro_email, $registered_account_type) {
|
||||
|
||||
// echo("$maestro_email : ".$maestro_email." / ");
|
||||
// echo("$available_date : ".$available_date);
|
||||
// return;
|
||||
|
||||
$postParamData = makeDefaultPostParamData($maestro_name, $maestro_email);
|
||||
|
||||
$postParamData["templateSid"] = "335";
|
||||
$postParamData["parameters"] = array(
|
||||
"account_type" => get_accout_type($registered_account_type),
|
||||
"bank_account_no" => "3333-07-4977969",
|
||||
"bank_name" => "카카오뱅크",
|
||||
"bank_owner_name" => "박지상",
|
||||
"maestro_email" => $maestro_email,
|
||||
"maestro_name" => $maestro_name,
|
||||
"available_date" => $available_date,
|
||||
"new_available_date" => $new_available_date,
|
||||
"price" => number_format(get_price($registered_account_type))
|
||||
);
|
||||
|
||||
sendEmail($postParamData);
|
||||
}
|
||||
|
||||
function sendMailExtensionDone($maestro_name, $new_available_date, $maestro_email) {
|
||||
$postParamData = makeDefaultPostParamData($maestro_name, $maestro_email);
|
||||
|
||||
$postParamData["templateSid"] = "336";
|
||||
$postParamData["parameters"] = array(
|
||||
"maestro_name" => $maestro_name,
|
||||
"new_available_date" => $new_available_date
|
||||
);
|
||||
|
||||
sendEmail($postParamData);
|
||||
}
|
||||
|
||||
function sendEmail($postParamData) {
|
||||
global $host_name_url, $request_url, $access_key, $secret_key, $api_key, $method, $request_id;
|
||||
global $sender_name, $sender_address;
|
||||
|
||||
Reference in new issue
Block a user