いつかもうちょいちゃんと書く。かもしれない
1 2 3 4 5 6 7 8 9 10 11 12 13 |
function send_mail() { // メールに記載する内容をそれぞれ var data = { to: 'examples@exmaple.com', // 送信先アドレス subject: 'Hello form GAS!', // メール件名 body: 'Sent from google spreadsheet via GAS!', // 本文 name:'GAS Bot', // 送信者名 noReply: true // 返信不可(送信専用)にする } // メールを送信する MailApp.sendEmail(data); } |