ryanb / letter_opener

Preview mail in the browser instead of sending.
MIT License
3.73k stars 238 forks source link

No HTML head or body #69

Closed jamonholmgren closed 11 years ago

jamonholmgren commented 11 years ago

I set up letter_opener as described (with a plain-text only email) and it does open a new tab, but it looks like this:

http://d.pr/i/tMl4

When I view source, there isn't an html, head, or body wrapper.

http://d.pr/i/fMPH http://d.pr/i/fMPH

My code is pretty straightforward (it's .text.erb):

Order is pending shipping rate

Order details can be reviewed here:

<%= @order_details_url %>

Add a shipping rate here:

<%= @shipping_rate_url %>

This is an automated message sent from the FE Bennett website. For support,
contact ClearSight Studio (support@clearsightstudio.com).

Any ideas?

jamonholmgren commented 11 years ago

Found the problem -- I had renamed the mailer but neglected to rename the folder that the views were in.