Swoosh.Email.reply_to
You're seeing just the function
reply_to
, go back to Swoosh.Email module for more information.
Specs
reply_to(t(), Swoosh.Email.Recipient.t()) :: t()
Sets a recipient in the reply_to
field.
Examples
iex> new() |> reply_to({"Steve Rogers", "steve.rogers@example.com"})
%Swoosh.Email{assigns: %{}, attachments: [], bcc: [], cc: [], from: nil,
headers: %{}, html_body: nil, private: %{}, provider_options: %{},
reply_to: {"Steve Rogers", "steve.rogers@example.com"}, subject: "", text_body: nil, to: []}
iex> new() |> reply_to("steve.rogers@example.com")
%Swoosh.Email{assigns: %{}, attachments: [], bcc: [], cc: [], from: nil,
headers: %{}, html_body: nil, private: %{}, provider_options: %{},
reply_to: {"", "steve.rogers@example.com"}, subject: "", text_body: nil, to: []}