Skip to content
This repository has been archived by the owner on Mar 2, 2020. It is now read-only.

Commit

Permalink
Show SMTP envelope if available. See mikel/mail#477.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Dec 11, 2012
1 parent ee13d17 commit 5b30a61
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/mail_view/email.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@
}
</style>
<div id="message_headers">
<% if mail.respond_to? :smtp_envelope_from %>
<dl>
<dt>SMTP From:</dt>
<dd><%= mail.smtp_envelope_from %></dd>

<dt>SMTP To:</dt>
<dd><%= mail.smtp_envelope_to %></dd>
</dl>
<% end %>

<dl>
<dt>From:</dt>
<dd><%= mail.from %></dd>
Expand Down

0 comments on commit 5b30a61

Please sign in to comment.