@ntesmail/shark-mail

1.0.2 • Public • Published

##使用方法

var SharkMailSender = require('@ntesmail/shark-mail');
var config = {
  enable: false,
  from: '名字<***@163.com>',
  service: '163',
  auth: {
    user: '***@163.com',
    pass: '**密码'
  }
};

var sharkMailSender = new SharkMailSender(config);

var message = {
  to: "***@163.com",
  subject: "subject",
  html: "<div style='color:red;'>你好Hello world</div>"
};
sharkMailSender.sendMail(message);

Readme

Keywords

none

Package Sidebar

Install

npm i @ntesmail/shark-mail

Weekly Downloads

1

Version

1.0.2

License

ISC

Last publish

Collaborators

  • ntesmail