Development email

Sent at: <%= @mail.created_at.in_time_zone %>

From: <%= @mail.from.join(", ") %>

To: <%= @mail.to.join(", ") %>

Subject: <%= @mail.subject %>

<% if @mail.multipart? -%>

Text part:
<%= @mail.text_part.gsub(/\n/, "
").html_safe %>

<%= link_to "HTML part", html_part_development_mail(@mail) %>

<% else -%>

Body:
<%= @mail.text_part.gsub(/\n/, "
").html_safe %>

<% end -%> <%= link_to "Back to list", development_mails_path %> <%= link_to 'Delete', development_mail_path(@mail), :confirm => 'Are you sure?', :method => :delete %>