Update from name and email in other areas as well

This commit is contained in:
johnnyq 2023-12-21 01:47:24 -05:00
parent e8a53cbd6a
commit 957bbc5f55
4 changed files with 12 additions and 0 deletions

View File

@ -121,6 +121,8 @@ if (isset($_POST['edit_contact'])) {
// Queue Mail
$data = [
[
'from' => $config_mail_from_email,
'from_name' => $config_mail_from_name,
'recipient' => $email,
'recipient_name' => $contact_name,
'subject' => $subject,

View File

@ -63,6 +63,8 @@ if (isset($_POST['add_event'])) {
$data = [
[
'from' => $config_mail_from_email,
'from_name' => $config_mail_from_name,
'recipient' => $contact_email,
'recipient_name' => $contact_name,
'subject' => $subject,
@ -127,6 +129,8 @@ if (isset($_POST['edit_event'])) {
$data = [
[
'from' => $config_mail_from_email,
'from_name' => $config_mail_from_name,
'recipient' => $contact_email,
'recipient_name' => $contact_name,
'subject' => $subject,

View File

@ -43,6 +43,8 @@ if (isset($_POST['edit_profile'])) {
$data = [
[
'from' => $config_mail_from_email,
'from_name' => $config_mail_from_name,
'recipient' => $user_old_email,
'recipient_name' => $name,
'subject' => $subject,
@ -173,6 +175,8 @@ if(isset($_POST['disable_2fa'])){
$data = [
[
'from' => $config_mail_from_email,
'from_name' => $config_mail_from_name,
'recipient' => $session_email,
'recipient_name' => $session_name,
'subject' => $subject,

View File

@ -55,6 +55,8 @@ if (isset($_POST['add_user'])) {
$data = [
[
'from' => $config_mail_from_email,
'from_name' => $config_mail_from_name,
'recipient' => $email,
'recipient_name' => $name,
'subject' => $subject,