This commit is contained in:
tykayn 2020-04-16 11:28:46 +02:00
parent 88da8b824a
commit 5187674167
1 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ class MailService {
* *
* @param Owner $foundOwner * @param Owner $foundOwner
* *
* @return int * @return int|void
* @throws Exception * @throws Exception
*/ */
public function sendOwnerPollsAction( Owner $foundOwner ) { public function sendOwnerPollsAction( Owner $foundOwner ) {
@ -97,7 +97,7 @@ class MailService {
->from( 'ne-pas-repondre@framadate-api.cipherbliss.com' ) ->from( 'ne-pas-repondre@framadate-api.cipherbliss.com' )
->to( new Address( $foundOwner->getEmail() ) ) ->to( new Address( $foundOwner->getEmail() ) )
->subject( $titleEmail ) ->subject( $titleEmail )
->htmlTemplate( $templateVars[ 'email_template' ] ) ->htmlTemplate( 'emails/owner-list.html.twig')
->context( $templateVars ); ->context( $templateVars );
// send email // send email