【文件属性】:
文件名称:dotmail:发送带有模板的电子邮件
文件大小:7KB
文件格式:ZIP
更新时间:2021-06-24 12:09:55
JavaScript
网络邮件
已弃用 - 使用
发送带有模板的电子邮件。
模板引擎:
电子邮件驱动程序:
安装
npm install dotmail
例子:
var dotmail = require ( 'dotmail' ) ;
var account = {
user : 'username@domain.com' ,
password : 'PA55W0RD' ,
host : 'smtp.your-email.com' ,
ssl : true
} ;
// add an email account and connect it to its SMTP server
dotmail . addAccount ( 'main' , account ) ;
// you can write mustache templates in template fi
【文件预览】:
dotmail-master
----.gitignore(30B)
----README.md(4KB)
----brand()
--------dotmail.svg(8KB)
----LICENSE(1KB)
----.jshintrc(524B)
----package.json(648B)
----index.js(2KB)