Swoosh.Email.put_private
You're seeing just the function
put_private
, go back to Swoosh.Email module for more information.
Specs
Stores a new private key and value in the email.
This store is meant to be for libraries/framework usage. The name should be specified as an atom, the value can be any term.
Examples
iex> new() |> put_private(:phoenix_template, "welcome.html")
%Swoosh.Email{assigns: %{}, attachments: [], bcc: [], cc: [], from: nil,
headers: %{}, html_body: nil, private: %{phoenix_template: "welcome.html"},
provider_options: %{}, reply_to: nil, subject: "", text_body: nil, to: []}