@seneca/mail

Seneca email plugin

Usage no npm install needed!

<script type="module">
  import senecaMail from 'https://cdn.skypack.dev/@seneca/mail';
</script>

README

@seneca/mail

Send emails with templates.

Build Status Coverage Status DeepScan grade dependencies Status

Updated plugin - WORK IN PROGRESS

Options

  • test : boolean false : Test mode.
  • history : boolean true : Save mail history to sys/mailhist entity.
  • makehist : function : Add properties to sys/mailhist entity.
  • logmail : boolean true : Log mail sending at info level.
  • email.send : boolean false : Send email (for safety, off by default).
  • email.preview : boolean false : Preview email.

Set plugin options when loading with:



seneca.use('mail', { name: value, ... })


Note: foo.bar in the list above means { foo: { bar: ... } }

Action Patterns

Action Descriptions

« sys:mail,hook:render »

No description provided.


« sys:mail,send:mail »

No description provided.