|
|
@@ -71,8 +71,11 @@ class MailService extends S2sMessageHandlable {
|
|
|
}
|
|
|
|
|
|
const transmissionMethod = configManager.getConfig('crowi', 'mail:transmissionMethod');
|
|
|
+
|
|
|
+ if (transmissionMethod === 'smtp') {
|
|
|
this.mailer = this.createSMTPClient();
|
|
|
}
|
|
|
+ else if (transmissionMethod === 'ses') {
|
|
|
this.mailer = this.createSESClient();
|
|
|
}
|
|
|
else {
|