Lettermint.Projects.ReportForwarding (Lettermint v2.0.0)

Copy Markdown View Source

DMARC and complaint report forwarding of a project. Needs :team_token.

Every function takes the options timeout: (milliseconds) last.

Summary

Functions

Disables report forwarding. Returns :ok (HTTP 204).

Sends the verification code again.

The report forwarding settings of a project.

Sets the report forwarding address.

Verifies the forwarding address with the emailed code.

Types

result(value)

@type result(value) :: {:ok, value} | {:error, Lettermint.Error.t()}

Functions

delete(client, project_id, options \\ [])

@spec delete(Lettermint.Client.t(), String.t(), keyword()) ::
  :ok | {:error, Lettermint.Error.t()}

Disables report forwarding. Returns :ok (HTTP 204).

resend_code(client, project_id, options \\ [])

Sends the verification code again.

retrieve(client, project_id, options \\ [])

The report forwarding settings of a project.

update(client, project_id, body, options \\ [])

Sets the report forwarding address.

verify(client, project_id, body, options \\ [])

Verifies the forwarding address with the emailed code.