<h1>Message from site: <%= Rails.configuration.action_mailer.default_url_options %></h1>

<p>Name: <%= @message.name %></p>
<p>Email: <%= @message.email %></p>

<p>Message: <%= @message.content %></p>

<h1>Message from site: <%= Rails.configuration.action_mailer.default_url_options[:host] %></h1>

<%= "<p>Name: #{@message.name}</p>".html_safe if @message.name %>
<%= "<p>Email: #{@message.email}</p>".html_safe if @message.email %>
<hr>
<%= "<p>Message: #{@message.content}</p>".html_safe if @message.content %>

Change text for user_mailer view
Change text for user_mailer view
