ActionMailer,Templates (erb) and aweson_mail without Rails

P

Pablo Q.

[Note: parts of this message were removed to make it a legal post.]

Hi Rubiceros,

I have built an mail delivery system using Action Mailer, it works without
rails. I would like to use erb template with it but I'm having problem
defining view path for it. I got this:

*Unprocessed view path found: nil. Set your view paths with
#append_view_path, #prepend_view_path, or #view_paths=.

c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_view/template_finder.rb:173:in
`check_view_paths'*

Also, I would like to add aweson_mail to it, but I didn't get response from
imedo devellopers about a version without rails.

So, I have two question:

1. Does anyone know how define the view path in order to use erb templates
without rails?
2. Anyone know somebody from Imedo in order to get info. about aweson_mail?

Thanks
 
P

Pablo Q.

[Note: parts of this message were removed to make it a legal post.]

I found how to do that:

ActionMailer::Base.template_root= 'templates_path'

It must exist a "mailer" folder in "templates" path.

Still having problem with aweson_mail...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top