Have ideas to improve npm?Join in the discussion! »

@moongift/customers-mail-cloud

1.2.6 • Public • Published

Customers Mail Cloud for Node.js

Install

npm i customers-mail-cloud

Usage

Init

const client = new CustomersMailCloud(api_user, api_key)

Send mail

const res = await client
  .trial()
  .setFrom(config.from.name, config.from.address)
  .addTo(config.to.name, config.to.address)
  .setSubject('テストメール')
  .setText('これはNode.jsライブラリから送信されたテストメールです')
  .addAttachments('./test.png')
  .addAttachments('./package.json')
  .send()

Licese

MIT

Keywords

none

Install

npm i @moongift/customers-mail-cloud

DownloadsWeekly Downloads

1

Version

1.2.6

License

MIT

Unpacked Size

43.8 kB

Total Files

20

Last publish

Collaborators

  • avatar