Add: send mail for extension maestro

This commit is contained in:
2019-10-18 10:03:06 +09:00
parent d431371aa3
commit d3b196c112
4 changed files with 74 additions and 25 deletions
@@ -9,6 +9,8 @@ include "./../mail/mail_setting.php";
include "./../mail/send_mail.php";
$maestro_id = $_POST["maestro_id"];
$available_date = $_POST["available_date"];
$new_available_date = $_POST["new_available_date"];
$account_type = $_POST["account_type"];
@@ -32,7 +34,8 @@ if($countUpgrade === null || $countUpgrade < 1) {
}
$maestro_data = get_maestro_data($maestro_id);
// sendMailExtensionBankInfo($maestro_data["name"], $maestro_data["email"], $account_type);
// $maestro_name, $available_date, $new_available_date, $maestro_email, $registered_account_type
sendMailExtensionBankInfo($maestro_data["name"], $available_date, $new_available_date, $maestro_data["email"], $account_type);
send_result_success();
exit;