Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ will be disabled and/or hidden in the UI.
sails.helpers.mailgun.configure({
secret: sails.config.custom.mailgunSecret,
domain: sails.config.custom.mailgunDomain,
hosy: sails.config.custom.mailgunHost,
from: sails.config.custom.fromEmailAddress,
fromName: sails.config.custom.fromName,
});
Expand Down
4 changes: 4 additions & 0 deletions lib/core-generators/new/templates/config/custom.js.template
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,15 @@ module.exports.custom = {
* other default settings related to "how" and "where" automated emails *
* are sent. *
* *
* EU accounts on Mailgun needs to use 'api.eu.mailgun.com' as host, while *
* every one else can ignore the setting. *
* *
* (https://app.mailgun.com/app/domains) *
* *
**************************************************************************/
// mailgunDomain: 'sandboxaa1234fake678.mailgun.org',
// mailgunSecret: 'key-fakeb183848139913858e8abd9a3',
// mailgunHost: 'api.eu.mailgun.net',
//--------------------------------------------------------------------------
// /\ Configure these to enable support for automated emails.
// || (Important for password recovery, verification, contact form, etc.)
Expand Down