Skip to content

senecajs/seneca-mail

Repository files navigation

@seneca/mail

Send emails with templates.

Build Status Coverage Status DeepScan grade dependencies Status

Voxgig This open source module is sponsored and supported by Voxgig.

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.