Topic: Sending email [SOLVED]

I am trying to send email and i think i have the hard part done as i am getting the emal. but i cant seem to be able to add a body

class ContactsMailer < ActionMailer::Base
  def email_contact(contact)
    @contact = contact
  mail(
      :from => 'lead@circletechfl.com',                                
      :to => "thoughtfulpeople@circletechfl.com",                      
      :bcc => "mzaragoza@circletechfl.com",                                 
      :reply_to => @contact.email,                                          
      :subject => "New Lead: " + @contact.name + ' ' + @contact.phone       
  )                                                                         
  end                                                                       
end      

Last edited by moiseszaragoza (2012-09-06 16:42:57)

Re: Sending email [SOLVED]

It is pretty well explained at Rails Guides. HTH

Re: Sending email [SOLVED]

Thanks i did fallow that guide b4 and when i did it again it work