# `SquatchMail.Suppression`
[🔗](https://github.com/Axio-Intelligence/Squatch-Mail/blob/v0.1.0/lib/squatch_mail/suppression.ex#L1)

An address that should not be sent to.

Suppressions are unique per address. Soft bounces may carry an `expires_at`
after which the address is deliverable again; hard bounces and complaints are
typically permanent (`expires_at` is `nil`).

# `t`

```elixir
@type t() :: %SquatchMail.Suppression{
  __meta__: term(),
  address: term(),
  email: term(),
  email_id: term(),
  event_type: term(),
  expires_at: term(),
  id: term(),
  inserted_at: term(),
  notes: term(),
  reason: term(),
  updated_at: term()
}
```

# `changeset`

```elixir
@spec changeset(t(), map()) :: Ecto.Changeset.t()
```

Builds a changeset for a suppression.

# `reasons`

```elixir
@spec reasons() :: [String.t()]
```

Returns the list of valid suppression reasons.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
