Przeglądaj źródła

Remise en place Mailjet

develop
Guillaume Bourgeois 1 miesiąc temu
rodzic
commit
0d935720d9
1 zmienionych plików z 4 dodań i 4 usunięć
  1. +4
    -4
      Notification/MailMailjetNotification.php

+ 4
- 4
Notification/MailMailjetNotification.php Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz