const MailgunMixin = require('moleculer-mailgun')
module.exports = {
name: 'mailgun',
mixins: [MailgunMixin],
settings: {
mailgun: {
/** @type {String} Mailgun apiKey (https://app.mailgun.com/app/dashboard). */
apiKey: '',
/** @type {String} Mailgun region : US/EU (Default US). */
region: MailgunMixin.regions.US,
/** @type {String} Mailgun domain (Can be override by action meta). */
domain: '',
/** @type {Object?} Additional options for mailgun contructor */
options: { },
/** @type {Number} Max "To" by batch requests (It will chunk list by that, Mailgun limit : 1000) */
bySendingBatch: 950,
/** @type {Object?} Defaults options for mailgun send mail */
defaults: { },
/** @type {Object?} Webhooks handler (Placeholder {event} for event type) */
webhooks: {
/** @type {String?} Action to call after webhooks validated */
action: undefined,
/** @type {String?} Event to emit after webhooks validated */
event: undefined
}
}
}
}
-
Notifications
You must be signed in to change notification settings - Fork 1
Moleculer integration of mailgun SMTP provider
License
LuxChanLu/moleculer-mailgun
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Moleculer integration of mailgun SMTP provider
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published