forked from audrey/intranet
todo
This commit is contained in:
parent
4f73aff502
commit
7129b15643
@ -28,7 +28,7 @@ class ComplaintController extends AbstractController
|
|||||||
$message = $form->get('Message')->getData();
|
$message = $form->get('Message')->getData();
|
||||||
$email = (new Email())
|
$email = (new Email())
|
||||||
->from(new Address('noreply@jv.com', 'Anonymous'))
|
->from(new Address('noreply@jv.com', 'Anonymous'))
|
||||||
->to('ajensen@jv.com') //Send to me for testing purposes. TODO: change to chris@jv.com
|
->to('ajensen@jv.com') //Send to me for testing purposes. TODO: change to chris@jv.com to be read from a config or env
|
||||||
->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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user