Swoosh.Email.html_body
You're seeing just the function
html_body
, go back to Swoosh.Email module for more information.
Specs
Sets the html_body
field.
The HTML body must be a string that containing the HTML content.
Examples
iex> new() |> html_body("<h1>Hello</h1>")
%Swoosh.Email{assigns: %{}, attachments: [], bcc: [],
cc: [], from: nil, headers: %{}, html_body: "<h1>Hello</h1>",
private: %{}, provider_options: %{}, reply_to: nil, subject: "",
text_body: nil, to: []}