[Radiant] Any step by step configuration for Mailer Behaviour

Pete Burgess peteburgess at gmail.com
Tue Dec 5 10:48:45 CST 2006


> http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer
> 
> check that link for environment.rb file's configuration. i hope this 
> might help you
> 
> cheers
> john aneston

Thanks John,

Yeah I think the environment.rb is where my prob is but I can't help but 
feel stupid trying to figure this out. I'm using Textdrive for hosting 
which says to leave server_settings as the default, which is don't set 
anything. I created the Notifier and added this:

def signup_thanks( user )
  # Email header info MUST be added here
  @recipients = user.email
  @from = "accounts at mywebsite.com"
  @subject = “Thank you for registering with our website”

  # Email body substitutions go here
  @body[“first_name”] = user.first_name
  @body[“last_name”] = user.last_name
end

Removed action_mailer in the environment.rb.

I know I'm missing something but don't know what since I'm not sure what 
I've already done. Thanks for your help. Sorry I'm not grasping it.

-- 
Posted via http://www.ruby-forum.com/.



More information about the Radiant mailing list