Add: sendMailRegistered, mail php
This commit is contained in:
@@ -3,6 +3,10 @@ header("Content-Type: application/json");
|
||||
|
||||
include "./../lib/send_reply_json.php";
|
||||
include "./../setup/connect_db.php";
|
||||
include "./../lib/maestro_account_info.php";
|
||||
include "./../lib/db_maestro.php";
|
||||
include "./../mail/mail_setting.php";
|
||||
include "./../mail/send_mail.php";
|
||||
|
||||
$maestroID = $_POST["maestro_id"];
|
||||
|
||||
@@ -35,6 +39,8 @@ add_maestro_sample_player_data($maestroID);
|
||||
$count = count_registered_player($maestroID);
|
||||
update_count_registered_player($maestroID, $count);
|
||||
|
||||
$maestro_data = get_maestro_data($maestroID);
|
||||
sendMailRegistered($maestro_data["name"], $maestro_data["email"]);
|
||||
|
||||
send_result_success();
|
||||
exit;
|
||||
|
||||
Reference in New Issue
Block a user