summaryrefslogtreecommitdiff
path: root/config/api-example.js
diff options
context:
space:
mode:
authorlowercasename <raphaelkabo@gmail.com>2020-06-13 13:36:28 +0100
committerlowercasename <raphaelkabo@gmail.com>2020-06-13 13:36:28 +0100
commitb24c5910463453e14be965893cd2a50859a945dd (patch)
tree8f71651b25c2ab031f4beba40d78d6c1a874d62d /config/api-example.js
parent030e2b3575a856c6fae65848b82626dde888a8c8 (diff)
Added Nodemailer as an SMTP service
Diffstat (limited to 'config/api-example.js')
-rw-r--r--config/api-example.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/api-example.js b/config/api-example.js
index 4df7ba3..9202f0a 100644
--- a/config/api-example.js
+++ b/config/api-example.js
@@ -1,3 +1,8 @@
+// Which of these fields are used depends on the 'mailService' config entry in config/domain.js
module.exports = {
- 'sendgrid' : '' // SendGrid API key goes here
+ 'sendgrid' : '', // If using SendGrid, the Sendgrid API key goes here
+ 'smtpServer': '', // If using Nodemailer, your SMTP server hostname goes here
+ 'smtpPort': '', // If using Nodemailer, your SMTP server port goes here
+ 'smtpUsername': '', // If using Nodemailer, your SMTP server username goes here
+ 'smtpPassword': '' // If using Nodemailer, your SMTP password goes here
};