title: Google Script: MailApp.sendEmail to multiple addresses?
body: <p>I have a script that is using the following script:</p>
  <pre><code>MailApp.sendEmail(row.shiftManager, &quot;Holiday Approval Request&quot;, &quot;&quot;, {htmlBody: message});
    row.state = STATE_PENDING;
  </code></pre>
  <p>Howeverm I would like to also send the same mail to <code>row.shiftSupervisor</code>, this is probably something really simple that I've overlooked, but I figured someone here would know straight away what it was.</p>
  <p>Cheers for your help :)</p>
  <p><strong>Edit</strong> - I tried to use:</p>
  <pre><code>MailApp.sendEmail(row.shiftManager, row.shiftSupervisor, &quot;Holiday Approval Request&quot;, &quot;&quot;, {htmlBody: message});
        row.state = STATE_PENDING;
  </code></pre>
  <p>But no joy.</p>
  <p><strong>Edit 2</strong> - I got it working with:</p>
  <pre><code>  MailApp.sendEmail(row.shiftManager, &quot;Holiday Approval Request&quot;, &quot;&quot;, {htmlBody: message});
    MailApp.sendEmail(row.shiftSupervisor, &quot;Holiday Approval Request&quot;, &quot;&quot;, {htmlBody: message});
    row.state = STATE_PENDING;
  </code></pre>
  <p>Not the most graceful looking piece of code, but it does the job...</p>