mandrill-sugared
v0.4.0
Published
Mandril wrapper with some sugar to make integration simpler
Downloads
2
Keywords
Readme
Mandrill Sugared
A simplified Mandrill wrapper for ease of use and hooking into known locations in the workflow for logging.
Example
API
Construction
Options
whitelist
Whitelisted emails requires any emails to be of one of these patterns- Ex:
[ '[email protected]', /^.*@example.com$/ ]
- Ex:
blacklist
Blacklisted emails - black overrides white or filters out base- Ex:
[ '[email protected]', /^.*@badDomain.com$/ ]
- Ex:
hooks
Loggin hookssendEmailBlocked
sendEmailCompleted
sendEmailFailed
sendTemplateBlocked
sendTemplateCompleted
sendTemplateFailed