arkivo-mailer

0.0.2 • Public • Published

arkivo-mailer

Build Status Coverage Status

An Arkivo plugin to send Zotero attachments by e-mail.

Quickstart

Install arkivo and arkivo-mailer with NPM:

$ npm install arkivo arkivo-mailer

Needless to say, you can also install both modules globally.

Add a minimal configuration file, e.g., config/default.json:

{
  "arkivo": {
    "plugins": [ "arkivo-mailer" ]
  }
}

You can also configure the plugin's default settings in your config file:

{
  "arkivo": {
    "plugins": [ "arkivo-mailer" ],

    "mailer": {
      "from": "arkivo@zotero.org",
      "subject": "Arkivo Update",

      "mimetypes" [
        "application/pdf"
      ]
    }
  }
}

For more configuration options, please consult Arkivo's documentation.

Now you start your Arkivo service:

$ $(npm bin)/arkivo up

To ensure that the mailer plugin has been loaded, you can check the output of:

$ $(npm bin)/arkivo-plugins list

/arkivo-mailer/

    Package Sidebar

    Install

    npm i arkivo-mailer

    Weekly Downloads

    1

    Version

    0.0.2

    License

    AGPL-3.0

    Last publish

    Collaborators

    • inukshuk