title: rails actionmailer multiple recepients
body: <p>In my Rails app I want to use ActionMailer to send emails to multiple recipients.  Below is the code I've written that works with a single attribute:</p>
  
  <pre><code> def new_call(medic, call)
      @call = call
      @medic = medic
  
      mail to: @medic.medic_email, subject: "New Call: #{@call.incident_number}"
    end 
  </code></pre>
  
  <p>I want to include @medic.medic_sms to send the message to their phones.  I tried the following code but it doesn't work.</p>
  
  <pre><code> def new_call(medic, call)
      @call = call
      @medic = medic
  
      mail to: @medic.medic_email, @medic.medic_sms, subject: "New Call: #{@call.incident_number}"
    end
  </code></pre>
  
  <p>Can someone suggest how to add the second attribute cleanly so it works?</p>
  
  <p>Thanks in advance.</p>