Okay, after trial and error I found my user error and all I have to
say is duh...to the dumbazz (me)!
I was loading my classes (models) and then setting the template_root.
Make sure you set ActionMailer::Base.template_root= BEFORE you load
YourMailer class.
Also, I did a "require 'action_mailer'
Okay, I tried to add a controller but don't know how to outside of
rails. A controller for a batch process should not be necessary,
right? Googling for answers and no one mentions using a controller
and most post are over 1-2 years old. Should I try a lower version of
ActionMailer, ActonPack, et
Thanks! I can now set the template_root with
ActionMailer::Base.template_root=. However, it still is not finding
my template. It looks like an Array is not getting initialized.
I not using rails framework, since this is not a rails app. So, I did
not do the script/generate mailer Mailer to ge
We're in the process of reworking AM to work with the new
AbstractController. One design goal is making the path to standalone use
more clear. For your case, try require "action_controller" before trying to
do any AM stuff :)
-- Yehuda
2009/10/6 GregD
>
> Hi everyone,
>
> Has anybody used Action