Browse Source

Forms replyto

master
Egorka 6 years ago
parent
commit
ba6e5b0ac1
  1. 1
      common/modules/forms/controllers/FormController.php

1
common/modules/forms/controllers/FormController.php

@ -62,6 +62,7 @@ class FormController extends FrontendController
['items' => $messageItems]
)
->setTo($form->from)
->setReplyTo(isset($form->reply) ? $form->reply : $form->from)
->setSubject($form->subject)
->send();
if (!$sent) {

Loading…
Cancel
Save