mirror of
https://framagit.org/tykayn/date-poll-api
synced 2023-08-25 08:23:11 +02:00
tpl
This commit is contained in:
parent
88da8b824a
commit
5187674167
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user