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
|
||||
$this->emailVerifier->sendEmailConfirmation('app_verify_email', $user,
|
||||
(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())
|
||||
->subject('Please Confirm your Email')
|
||||
->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>
|
||||
Please confirm your email address by clicking the following link: <br><br>
|
||||
|
|
Reference in a new issue