Be playing with ActionMailer and have yet to get anything to work. when
I when my app, however, I get no errors except for this blurb in my
development.log file: EnrollController: missing default helper path
enroll_helper. This is printed to file when the method that is supposed
to do the emailing is called. I beleive I have everything right - I have
my password.rb ActionMailer class with a password_send method; in my
controller I have a method that is being called by the form named
new_password and in that method I have:
Password.deliver_password_send( @user.emailaddr )
which I beleive calls the password_send method in my password.rb file
and then in my envirnments I have
ActionMailer::Base.smtp_settings = {
:address => "xx.xxx.xx.x",
:domain => ''mydomian.companyname.com''
}
My new_password''s looks like:
def password_send( user )
recipients user
from "me-B+ylvMvdznhOasoKTm04oQ@public.gmane.org"
subject "New Password"
body :first_name => user.first, :last_name => user.last
end
Does anyone have any suggestions? Thanks,
~S
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---