Browse Source

Ajout d'un parametre 'service envoi email' pour changer depuis l'admin de mailjet à alwaysdata

develop
Fabien Normand 2 weeks ago
parent
commit
1cf03d21b8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Notification/MailMailjetNotification.php

+ 1
- 1
Notification/MailMailjetNotification.php View File

@@ -130,7 +130,7 @@ class MailMailjetNotification
$transport->setUsername($this->parameterBag->get('app.mail.login'));
}
if($this->parameterBag->get('app.mail.password')!="0"){
$transport->setUsername($this->parameterBag->get('app.mail.password'));
$transport->setPassword($this->parameterBag->get('app.mail.password'));
}

$mailer = new \Swift_Mailer($transport);

Loading…
Cancel
Save