0.4.0 • Published 10 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
whitelistWhitelisted emails requires any emails to be of one of these patterns- Ex:
[ 'test@example.com', /^.*@example.com$/ ]
- Ex:
blacklistBlacklisted emails - black overrides white or filters out base- Ex:
[ 'badEmail@example.com', /^.*@badDomain.com$/ ]
- Ex:
hooksLoggin hookssendEmailBlockedsendEmailCompletedsendEmailFailedsendTemplateBlockedsendTemplateCompletedsendTemplateFailed