hapi-mail
hapi-mail copied to clipboard
Hapi.js email plugin
Resolves #6
Does this plugin support sending of email attachments? @paullang If yes, do you have a usage example?
# Disclaimer This has not been thoroughly tested yet. It allows the Hapi server to boot, but I have no idea if it actually works yet. For #8
Code: ``` const options = { template: { engine: 'handlebars', path: './templates/' }, email: { engine: 'ses', options: { accessKeyId: access_key, secretAccessKey: secret_key, region: 'eu-west-1' }, defaultFrom: '[email protected]' } };...
I'm seeing this warning when installing hapi-mail: ```bash npm WARN [email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself. ```
Have a generic wrapper with response status and message, but still have a section in the response object that is specific to each provider.