title: Google App Script doesn't set Bcc adress
body: <p>I have develop a simple google app script to send an email with bcc I just trying to URL param To, From and subject is set is correctly but, the cc and bcc address are not set properly</p>
  
  <p><a href="https://i.stack.imgur.com/y7VQO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y7VQO.png" alt="enter image description here"></a></p>
  
  <p>My code snippet is here.</p>
  
  <pre><code>function doPost(e) { // change to doPost(e) if you are recieving POST data
  var mailId = '';
  var mailSubject = '';
  var mailBody = '';
  var htmlBody = '';
  var senderName = '';
  var replyToAddress = '';
  var bccAddresses = '';
  
      mailId = e.parameter['Email'];
      mailSubject = e.parameter['Subject'];
      mailBody = e.parameter['MailBody'];
      htmlBody = e.parameter['HtmlBody'];
      senderName = e.parameter['SenderName'];
      replyToAddress = e.parameter['ReplyTo'];
      bccAddresses = e.parameter['bccAddress'];
  
    Logger.log(':::::::mailId:::::',mailId);
  
    if(mailId != '' &amp;&amp; mailId != null){
  
      MailApp.sendEmail({
        to:mailId, 
        subject:mailSubject, 
        htmlBody:mailBody, 
        bcc:bccAddresses,
        name:senderName,
        replyTo:replyToAddress,
      });  
    }
  
  var emailQuotaRemaining = MailApp.getRemainingDailyQuota();
  return ContentService
              .createTextOutput(emailQuotaRemaining);
  }
  
  function doGet(request) {
    var emailQuotaRemaining = MailApp.getRemainingDailyQuota();
    var result = {
      available: 0
    };
    return ContentService.createTextOutput(
      request.parameters.prefix + '(' + emailQuotaRemaining + ')')
      .setMimeType(ContentService.MimeType.JAVASCRIPT);
  }
  </code></pre>
  
  <p>My HTML code is</p>
  
  <pre><code>&lt;form method="post" style="display:none;" id="form" action="https://script.google.com/macros/s/AKfycbwlMz27gP9vxZA-X58wvxgerhG46A6TEZw33YFe5mvJ0ejFSYQt/exec"&gt;
          &lt;input type="text" name="Subject" value="Test Subject" /&gt;
          &lt;input type="text" name="MailBody" value="Test Body" /&gt;
          &lt;input type="text" name="Email" value="subashc@softsquare.biz" /&gt;
          &lt;input type="text" name="SenderName" value="MSCB" /&gt;
          &lt;input type="text" name="ReplyTo" value="test@gmail.com" /&gt;
          &lt;input type="text" name="bccAddress" value="mscb39@yahoo.com" /&gt;
          &lt;textarea name="HtmlBody"&gt;Test Body&lt;/textarea&gt;
          &lt;input type="submit" id="sub" /&gt;
      &lt;/form&gt;  
      &lt;button onclick="subForm();"&gt;Submit&lt;/button&gt;
  
      &lt;script&gt;
          function subForm() {
              document.getElementById('form').submit();
          }
      &lt;/script&gt;
  </code></pre>
  
  <p>Thanks in Advance,</p>
  
  <p>Subash Chandrabose.M</p>