Pique v0.1.0 Pique.Handlers.MAIL View Source

Default implementation of a MAIL handler. Takes an email address returns the email address in an {:ok, email} or {:error, reason} tuple.

Link to this section Summary

Link to this section Functions

Link to this function

handle(email)

View Source
handle(String.t()) :: {:ok, String.t()}

Callback implementation for Pique.Behaviours.Handler.handle/1.