Parses a mailto URL
mailto
Parse a URI with the :scheme of "tel"
:scheme
@type t() :: %URL.Mailto{params: map(), to: [binary(), ...]}
@spec parse(URI.t()) :: {:ok, t()} | {:error, {module(), binary()}}
iex> mailto = URI.parse("mailto:user@%E7%B4%8D%E8%B1%86.example.org?subject=Test&body=NATTO") iex> URL.Mailto.parse(mailto) {:ok, %URL.Mailto{ to: ["user@納豆.example.org"], params: %{"body" => "NATTO", "subject" => "Test"} }}