Displaying 1 result from an estimated 1 matches for "comment_alert".
2006 Mar 14
1
ActionMailer Error - Please Help!
...:login,
:user_name => "myuname",
:password => "mypwd" }
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.raise_delivery_errors = true
ActionMailer::Base.default_charset = "utf-8"
#model - notifier.rb
class Notifier < ActionMailer::Base
def comment_alert(post)
# Email header info MUST be added here
@recipients = "me@somewhere.com"
@from = "ryan@mydomain.com"
@subject = "New Comment"
# Email body substitutions go here
@body["first_name"] = "Fname"
@body["last_name"] = "L...