BoomNotifier.MailNotifier.Bamboo (boom_notifier v0.8.0) View Source

Send exception notification by email using Bamboo.

Usage

defmodule YourApp.Router do
use Phoenix.Router

use BoomNotifier,
    notifier: BoomNotifier.MailNotifier.Bamboo,
    options: [
      mailer: YourApp.Mailer,
      from: "me@example.com",
      to: "foo@example.com",
      subject: "BOOM error caught"
    ]

# ...

Link to this section Summary

Link to this section Types

Specs

option() ::
  {:mailer, module()}
  | {:from, String.t()}
  | {:to, String.t()}
  | {:subject, String.t()}

Specs

options() :: [option()]