Fix: send_mail -> send_naver_mail

This commit is contained in:
2022-05-01 17:27:54 +09:00
parent 29afe0cf4d
commit 8195402979
10 changed files with 372 additions and 10 deletions
@@ -8,6 +8,7 @@ include "./../lib/db_maestro.php";
include "./../lib/maestro_log.php";
include "./../mail/mail_setting.php";
// include "./../mail/send_mail.php";
include "./../mail/send_naver_mail.php";
$maestroID = $_POST["maestro_id"];
$maestroName = $_POST["maestro_name"];
@@ -28,12 +29,12 @@ update_maestro_info($maestroID, $maestroName, $email);
if($maestroName != $maestro_name_prev) {
// sendMailUpdateMaestroName($maestroName, $maestro_name_prev, $email);
sendMailUpdateMaestroName($maestroName, $maestro_name_prev, $email);
insertMaestroLog("update_maestro_name", $maestroID, $maestro_name_prev." -> ".$maestroName);
}
if($email != $email_prev) {
// sendMailUpdateMaestroEmail($maestroName, $email, $email_prev);
sendMailUpdateMaestroEmail($maestroName, $email, $email_prev);
insertMaestroLog("update_maestro_email", $maestroID, $email_prev." -> ".$email);
}