浏览代码

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

正在加载...
取消
保存