Send emails with CC using notifier in rails
===

I am using Notifier to send mails using cc. I have wriiten the following code to perform the same:

   <b>User Model</b>
     
    Notifier.welcome_mail.deliver

   <b>Notifier.rb</b>
 
    def welcome_mail
      mail(:to => "user1@gmail.com", :cc => "user2@gmail.com", :subject => "Hello!!!")
    end

But the mail is only delivered to the last user i.e <b>user2</b>. I am not able to figure out where I am going wrong. Please help me out.
