|
|
@@ -120,14 +120,14 @@ class MailMailjetNotification |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
// Classique |
|
|
|
$transport = (new \Swift_SmtpTransport('smtp-placedulocal.alwaysdata.net', 587, 'tls')) |
|
|
|
// Classique (SMTP) |
|
|
|
/*$transport = (new \Swift_SmtpTransport('smtp-placedulocal.alwaysdata.net', 587, 'tls')) |
|
|
|
->setUsername('contact@placedulocal.fr') |
|
|
|
->setPassword('7sgd5x2BVStJ69'); |
|
|
|
$mailer = new \Swift_Mailer($transport); |
|
|
|
return $mailer->send($message); |
|
|
|
return $mailer->send($message);*/ |
|
|
|
|
|
|
|
// Mailjet |
|
|
|
//return $this->transport->send($message); |
|
|
|
return $this->transport->send($message); |
|
|
|
} |
|
|
|
} |