send real email

This commit is contained in:
2025-05-30 10:25:52 +02:00
parent 90523e850c
commit 2f67319cdc

View File

@@ -64,8 +64,8 @@ if (empty($_POST['uk_id'])) {
//Recipients
$mail->setFrom($emailTemplate->get_et_from_email(), $emailTemplate->get_et_from_name());
// $mail->addAddress($toNotify->get_uk_parent_1()->get_up_email(), $toNotify->get_uk_parent_1()->get_up_name());
$mail->addAddress('tricsusz@gmail.com', 'Tóth Richárd'); // TEST
$mail->addAddress($toNotify->get_uk_parent_1()->get_up_email(), $toNotify->get_uk_parent_1()->get_up_name());
// $mail->addAddress('tricsusz@gmail.com', 'Tóth Richárd'); // TEST
//Content