teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

誤字

2020/09/23 23:51

投稿

wakashun
wakashun

スコア5

title CHANGED
File without changes
body CHANGED
@@ -22,7 +22,7 @@
22
22
  sheet.getLastRow();
23
23
  const values = sheet.getRange(1, 1, lastRow, 5).getValues();
24
24
 
25
- const doc = DocumentApp.openById('1cgT-_jPU0WPXd7zfUIQVRxWq9nScOL1JMJI5qs2AfgY');
25
+ const doc = DocumentApp.openById('xxxxxxxxxxxxxxxxxxxx');
26
26
  const docText = doc.getBody().getText();
27
27
 
28
28
  const subject = '送信テスト'; //メールの件名
@@ -33,7 +33,7 @@
33
33
  const mailAddress = values[i][3]; //アドレス
34
34
  const options = {
35
35
  'cc': values[i][4],
36
- 'name': "クラスメソッド若林"
36
+ 'name': "wakashun"
37
37
  }
38
38
  const body = docText
39
39
  .replace('{会社名}',company)