X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/e1e170263366dc7d54027e84a54809e7860603ab..e1174c1eb4ece45e25930e368c7bdbf05e74aeaf:/Controller/DefaultController.php diff --git a/Controller/DefaultController.php b/Controller/DefaultController.php index bd53b1a..a128ed4 100644 --- a/Controller/DefaultController.php +++ b/Controller/DefaultController.php @@ -303,7 +303,7 @@ class DefaultController extends AbstractController { //Create message $message = (new TemplatedEmail()) //Set sender - ->from(new Address($this->config['contact']['mail'], $this->config['contact']['name'])) + ->from(new Address($this->config['contact']['mail'], $this->config['contact']['title'])) //Set recipient //XXX: remove the debug set in vendor/symfony/mime/Address.php +46 ->to(new Address($mail['context']['recipient_mail'], $mail['context']['recipient_name'])) @@ -442,7 +442,7 @@ class DefaultController extends AbstractController { //Create message $message = (new TemplatedEmail()) //Set sender - ->from(new Address($this->config['contact']['mail'], $this->config['contact']['name'])) + ->from(new Address($this->config['contact']['mail'], $this->config['contact']['title'])) //Set recipient //XXX: remove the debug set in vendor/symfony/mime/Address.php +46 ->to(new Address($mail['context']['recipient_mail'], $mail['context']['recipient_name'])) @@ -549,7 +549,7 @@ class DefaultController extends AbstractController { //Create message $message = (new TemplatedEmail()) //Set sender - ->from(new Address($this->config['contact']['mail'], $this->config['contact']['name'])) + ->from(new Address($this->config['contact']['mail'], $this->config['contact']['title'])) //Set recipient //XXX: remove the debug set in vendor/symfony/mime/Address.php +46 ->to(new Address($mail['context']['recipient_mail'], $mail['context']['recipient_name']))