1
0
mirror of https://framagit.org/tykayn/date-poll-api synced 2023-08-25 08:23:11 +02:00
This commit is contained in:
tykayn 2020-04-16 11:28:46 +02:00
parent 88da8b824a
commit 5187674167

View File

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