瀏覽代碼

Remise en place Mailjet

develop
Guillaume Bourgeois 1 月之前
父節點
當前提交
0d935720d9
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. +4
    -4
      Notification/MailMailjetNotification.php

+ 4
- 4
Notification/MailMailjetNotification.php 查看文件

@@ -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…
取消
儲存