Allow setting SMTP config

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Simon LEBLANC 2018-02-21 11:07:11 +01:00 committed by Thomas Citharel
parent 7e12443bc2
commit 8720595874
9 changed files with 54 additions and 18 deletions

View file

@ -49,7 +49,7 @@ $logService = new LogService();
$pollService = new PollService($connect, $logService);
$adminPollService = new AdminPollService($connect, $pollService, $logService);
$inputService = new InputService();
$mailService = new MailService($config['use_smtp']);
$mailService = new MailService($config['use_smtp'], $config['smtp_options']);
$notificationService = new NotificationService($mailService);
/* PAGE */