Wondering what’s next for npm?Check out our public roadmap! »

    @moongift/customers-mail-cloud

    1.3.0 • Public • Published

    Customers Mail Cloud for Node.js

    Install

    npm i @moongift/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

    2

    Version

    1.3.0

    License

    MIT

    Unpacked Size

    60 kB

    Total Files

    23

    Last publish

    Collaborators

    • avatar