old TODO removed

This commit is contained in:
Audrey Jensen 2023-07-28 15:34:20 +00:00
parent 6d31718ce2
commit 39cc0cd6d3

View File

@ -39,7 +39,7 @@ class ComplaintController extends AbstractController
{ {
$email = (new Email()) $email = (new Email())
->from(new Address('noreply@jv.com', 'Anonymous')) ->from(new Address('noreply@jv.com', 'Anonymous'))
->to($_SERVER['COMPLAINT_RECIPIENT_ADDRESS']) //Send to me for testing purposes. TODO: change to chris@jv.com ->to($_SERVER['COMPLAINT_RECIPIENT_ADDRESS'])
->subject('Anonymous Contact Form') ->subject('Anonymous Contact Form')
->text($message); ->text($message);
$email->getHeaders()->addTextHeader('X-Auto-Response-Suppress', 'OOF, DR, RN, NRN, AutoReply'); //Tell autoresponders to not reply $email->getHeaders()->addTextHeader('X-Auto-Response-Suppress', 'OOF, DR, RN, NRN, AutoReply'); //Tell autoresponders to not reply