0.4.0 • Published 9 years ago
mandrill-sugared v0.4.0
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:
[ 'test@example.com', /^.*@example.com$/ ]
- Ex:
blacklist
Blacklisted emails - black overrides white or filters out base- Ex:
[ 'badEmail@example.com', /^.*@badDomain.com$/ ]
- Ex:
hooks
Loggin hookssendEmailBlocked
sendEmailCompleted
sendEmailFailed
sendTemplateBlocked
sendTemplateCompleted
sendTemplateFailed