Browse Source

Remise en place Mailjet

develop
Guillaume Bourgeois 9 months ago
parent
commit
0d935720d9
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      Notification/MailMailjetNotification.php

+ 4
- 4
Notification/MailMailjetNotification.php View File

@@ -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);
}
}

Loading…
Cancel
Save