send actual mails

This commit is contained in:
Jannis Portmann 2021-05-11 11:37:34 +02:00
parent a0576fc1cd
commit 6f213c7147
2 changed files with 4 additions and 2 deletions

View file

@ -49,7 +49,7 @@ class RegistrationController extends AbstractController
// generate a signed url and email it to the user // generate a signed url and email it to the user
$this->emailVerifier->sendEmailConfirmation('app_verify_email', $user, $this->emailVerifier->sendEmailConfirmation('app_verify_email', $user,
(new TemplatedEmail()) (new TemplatedEmail())
->from(new Address('no-reply@example.com', 'plantex no-reply')) ->from(new Address('no-reply@thisfro.ch', 'plantex no-reply'))
->to($user->getEmail()) ->to($user->getEmail())
->subject('Please Confirm your Email') ->subject('Please Confirm your Email')
->htmlTemplate('registration/confirmation_email.html.twig') ->htmlTemplate('registration/confirmation_email.html.twig')

View file

@ -1,4 +1,6 @@
<h1>Hi! Please confirm your email!</h1> <h1>Welcome to pflänz.li!</h1>
<h3>Please confirm your email</h3>
<p> <p>
Please confirm your email address by clicking the following link: <br><br> Please confirm your email address by clicking the following link: <br><br>