this is what I use:
def display_email
email = MyActionMailerClassName.create_my_email(@some_required_object)
render(:text => "<pre>" + email.body +
"</pre>")
end
Mike
On 3/14/08, jordanisip
<jordanisip-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> Hi All,
>
> Quick question, Is it possible to view ActionMailer HTML e-mails in a
> browser? Or somehow view them without having to actually send out an
> email?
>
> Thanks in advance!
> Jordan
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---