Displaying 1 result from an estimated 1 matches for "irdiktanic".
2007 Nov 12
1
help debugging ActionMailer with restful_authentication?
...smtp
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.smtp_settings = {
:address => "smtp.mail.yahoo.com" ,
:port => 25,
:domain => "www.haloresearch.net" ,
:authentication => :login,
:user_name => "patelc75" ,
:password => "irdiktanic" ,
}
Here''s the delivery code:
class UserObserver < ActiveRecord::Observer
def after_create(user)
UserMailer.deliver_signup_notification(user)
end
def after_save(user)
UserMailer.deliver_activation(user) if user.recently_activated?
end
end
Thanks!
Chirag
--~-...