LoginSignup
0
0

More than 3 years have passed since last update.

GASでgmailの宛先を複数追加する方法

Last updated at Posted at 2020-03-27

A.コンマ区切りのStringで定義する

宛先(to, cc, bcc)は、コンマ区切りのStringで定義する。
アドレスを配列に入れて、joinするのが便利。

GmailApp.createDraft(to, subject, body, {cc:[address1, address2].join(',')}

参考:createDraft(recipient, subject, body, options)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0