Hi,
I am having problems figuring out how to send
properly html pages attachments which are
some other application''s components rendered pages.
It seems, that when I use something like this:
part :content_type => "text/html",
:body => render_message("optestweek", :week => week,
:profiles => profiles )
I have no more access to methods like "url_for" inside of
the template optestweek.rhtml.
Please, share ome toughts with me on this.
Tom
On Jan 11, 2006, at 6:44 AM, Tomasz B?k wrote:> Hi, > I am having problems figuring out how to send > properly html pages attachments which are > some other application''s components rendered pages. > It seems, that when I use something like this: > > part :content_type => "text/html", > :body => render_message("optestweek", :week => week, > :profiles => profiles ) > > I have no more access to methods like "url_for" inside of > the template optestweek.rhtml. > > Please, share ome toughts with me on this.Check out this page for tips: http://wiki.rubyonrails.com/rails/pages/ HowtoUseUrlHelpersWithActionMailer - Jamis
Reasonably Related Threads
- Actionmailer - Multipart and Outlook?
- ActionMailer Sending Two text/plain Parts
- MSetIterator::get_percent Shows Increased Values When Using Query::OP_FILTER
- Using unsplit - unsplit does not seem to reverse the effect of split
- Rails 2.0 ActionMailer breaks my redmine render_message