Merge branch 'dev/mailing/bugfix-2' into 'develop'

update mail sender

See merge request easy-solutions/apps/easyportal!11
This commit is contained in:
Charles-Edouard MARGUERITE 2026-01-28 10:44:07 +00:00
commit 2c7402249d
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ class EmailService
); );
$this->logger->info("link generated: " . $link); $this->logger->info("link generated: " . $link);
$email = (new TemplatedEmail()) $email = (new TemplatedEmail())
->from('no-reply@sudalys.fr') ->from('no-reply@solutions-easy.com')
->to($user->getEmail()) ->to($user->getEmail())
->subject('Définissez votre mot de passe') ->subject('Définissez votre mot de passe')
->htmlTemplate('emails/password_setup.html.twig') ->htmlTemplate('emails/password_setup.html.twig')
@ -60,7 +60,7 @@ class EmailService
], UrlGeneratorInterface::ABSOLUTE_URL); ], UrlGeneratorInterface::ABSOLUTE_URL);
$this->logger->info("link generated: " . $link); $this->logger->info("link generated: " . $link);
$email = (new TemplatedEmail()) $email = (new TemplatedEmail())
->from('no-reply@sudalys.fr') ->from('no-reply@solutions-easy.com')
->to($existingUser->getEmail()) ->to($existingUser->getEmail())
->subject("Invitation à rejoindre l'organisation " . $org->getName()) ->subject("Invitation à rejoindre l'organisation " . $org->getName())
->htmlTemplate('emails/existing_user_notification.html.twig') ->htmlTemplate('emails/existing_user_notification.html.twig')