Testing emails....
This commit is contained in:
@@ -499,7 +499,7 @@ async function handle_submit_form(event: any) {
|
|||||||
$idaa_sess.recovery_meetings.show__modal_view = true;
|
$idaa_sess.recovery_meetings.show__modal_view = true;
|
||||||
|
|
||||||
// if (!$ae_loc.administrator_access && $ae_loc.site_cfg_json?.recovery_mtg_send_staff_update_email) {
|
// if (!$ae_loc.administrator_access && $ae_loc.site_cfg_json?.recovery_mtg_send_staff_update_email) {
|
||||||
// send_staff_notification_email();
|
send_staff_notification_email();
|
||||||
// }
|
// }
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -575,12 +575,15 @@ function send_staff_notification_email() {
|
|||||||
api_cfg: $ae_api,
|
api_cfg: $ae_api,
|
||||||
from_email: $ae_loc.site_cfg_json?.noreply_email ?? 'noreply+recmtg@oneskyit.com',
|
from_email: $ae_loc.site_cfg_json?.noreply_email ?? 'noreply+recmtg@oneskyit.com',
|
||||||
// from_email: 'noreply+recmtg@oneskyit.com',
|
// from_email: 'noreply+recmtg@oneskyit.com',
|
||||||
|
// from_email: 'noreply+recmtg@idaa.org',
|
||||||
from_name: $ae_loc.site_cfg_json?.noreply_name ?? 'IDAA Rec Mtg NoReply',
|
from_name: $ae_loc.site_cfg_json?.noreply_name ?? 'IDAA Rec Mtg NoReply',
|
||||||
to_email: $ae_loc.site_cfg_json?.admin_email ?? 'admin+recmtg@oneskyit.com',
|
to_email: $ae_loc.site_cfg_json?.admin_email ?? 'admin+recmtg@oneskyit.com',
|
||||||
// to_email: 'test+recmtg@oneskyit.com', // 'scott+recmtg@oneskyit.com'
|
// to_email: 'test+recmtg@oneskyit.com', // 'scott+recmtg@oneskyit.com'
|
||||||
|
// to_email: 'stidem+test@gmail.com',
|
||||||
to_name: $ae_loc.site_cfg_json?.admin_name ?? 'IDAA Recovery Meeting Admin',
|
to_name: $ae_loc.site_cfg_json?.admin_name ?? 'IDAA Recovery Meeting Admin',
|
||||||
subject: subject,
|
subject: subject,
|
||||||
body_html: body_html,
|
body_html: body_html,
|
||||||
|
// test: true,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user