summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/api-example.js7
-rw-r--r--config/domain-example.js1
2 files changed, 7 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
};
diff --git a/config/domain-example.js b/config/domain-example.js
index c019a4a..9b672aa 100644
--- a/config/domain-example.js
+++ b/config/domain-example.js
@@ -3,6 +3,7 @@ module.exports = {
'domain' : 'localhost:3000' ,
'port': '3000',
'email': 'contact@example.com',
+ 'mailService': 'nodemailer', // Which mail service to use to send emails to attendees. Options are 'nodemailer' or 'sendgrid'. Configure settings for the mail service in config/api.js.z
'sitename': 'gathio',
'isFederated': true,
// If left blank, this defaults to https://yourdomain.com/images/gathio-email-logo.gif. Set a full URL here to change it to your own logo (or just change the file itself)