courier v0.1.0 Courier.Storage behaviour

Contains behaviours for Storage based adapters

use this module in your adapter:

defmodule CustomAdapter do
  use Courier.Storage
end

Summary

Callbacks

clear()

Specs

clear :: any
delete(arg0)

Specs

delete(Mail.Message.t) :: [Mail.Message.t]
messages()

Specs

messages :: [Mail.Message.t]
messages_for(arg0)

Specs

messages_for(String.t) :: [Mail.Message.t]
recipients()

Specs

recipients :: [String.t]