mirror of
https://framagit.org/tykayn/date-poll-api
synced 2023-08-25 08:23:11 +02:00
dynamic mail title
This commit is contained in:
parent
f40eb596b4
commit
cd74469ced
@ -49,11 +49,11 @@ class FramadateController extends AbstractController {
|
||||
$config[ 'email_template' ],
|
||||
$config
|
||||
);
|
||||
$message = ( new Swift_Message( 'Wonderful Subject from FAT computer' ) )
|
||||
$message = ( new Swift_Message( $config[ 'title' ] ) )
|
||||
->setContentType( "text/html" )
|
||||
->setCharset( 'UTF-8' )
|
||||
->setFrom( [ 'contact@framadate-api.cipherbliss.com' ] )
|
||||
->setTo( [ 'contact@cipherbliss.com' ] )
|
||||
->setFrom( [ 'ne-pas-repondre@framadate-api.cipherbliss.com' ] )
|
||||
->setTo( [ $config[ 'owner' ]->getEmail() ] )
|
||||
->setBody( $htmlbody, 'text/html' );
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user