Jelajahi Sumber

reset change for dev

yusuketk 5 tahun lalu
induk
melakukan
3f41f4eb18
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 2
      src/server/service/mail.js

+ 1 - 2
src/server/service/mail.js

@@ -79,8 +79,7 @@ class MailService extends S2sMessageHandlable {
 
 
     const transmissionMethod = configManager.getConfig('crowi', 'mail:transmissionMethod');
     const transmissionMethod = configManager.getConfig('crowi', 'mail:transmissionMethod');
 
 
-    if (true) {
-      // if (transmissionMethod === 'smtp') {
+    if (transmissionMethod === 'smtp') {
       this.mailer = this.createSMTPClient();
       this.mailer = this.createSMTPClient();
     }
     }
     else if (transmissionMethod === 'ses') {
     else if (transmissionMethod === 'ses') {