send actual mails
This commit is contained in:
parent
a0576fc1cd
commit
6f213c7147
2 changed files with 4 additions and 2 deletions
|
@ -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')
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Reference in a new issue