Dnsimple.Domains.create_email_forward
You're seeing just the function
create_email_forward
, go back to Dnsimple.Domains module for more information.
Link to this function
create_email_forward(client, account_id, domain_id, attributes, options \\ [])
Specs
create_email_forward( Dnsimple.Client.t(), String.t() | integer(), String.t() | integer(), map(), Keyword.t() ) :: {:ok | :error, Dnsimple.Response.t()}
Creates an email forward for a domain.
See:
Examples:
client = %Dnsimple.Client{access_token: "a1b2c3d4"}
{:ok, response} = Dnsimple.Domains.create_email_forward(client, account_id = 1010, domain_id = "example.com", %{
from: "jacegu@example.com",
to: "me@provider.com",
})