hapi-mandrill:暴露mandrill API的HAPI插件-用于发送交易电子邮件

时间:2024-05-17 07:53:16
【文件属性】:

文件名称:hapi-mandrill:暴露mandrill API的HAPI插件-用于发送交易电子邮件

文件大小:11KB

文件格式:ZIP

更新时间:2024-05-17 07:53:16

CoffeeScript

(C)2014马丁·瓦鲁施(Martin Wawrusch) 暴露出mandrill api的HAPI插件-用于发送交易电子邮件。 其背后的原因是,我创建的每个hapi应用程序都需要交易电子邮件,并且始终涉及管道代码。 通过该模块,我为最常见的用例提供了定义明确的签名,并公开了mandrillClient。 用法 key和templateNameMapping参数是可选的,但如果没有密钥,则不会发送任何内容(可用于测试)。 hapiMandrill = require ' hapi-mandrill ' pluginConf = [ plugin : hapiMandrill options : senderName : " John Smith " senderEmail : " john@smith.com " key : nu


【文件预览】:
hapi-mandrill-master
----.travis.yml(38B)
----package.json(1KB)
----test()
--------support()
--------index-tests.coffee(574B)
--------send-tests.coffee(834B)
----Gruntfile.coffee(2KB)
----src()
--------i18n.coffee(303B)
--------index.coffee(3KB)
----.npmignore(96B)
----.gitignore(80B)
----lib()
--------index.js(4KB)
--------i18n.js(386B)
--------index.js.map(3KB)
--------i18n.js.map(268B)
----README.md(5KB)

网友评论