Created
August 23, 2017 04:29
-
-
Save takakabe/2ef0cc39699a74e16feaa77ee544cdb8 to your computer and use it in GitHub Desktop.
Google Apps Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function mail_send() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var to_address = sheet.getRange(1,1).getValue(); | |
var mail_subject = sheet.getRange(2,1).getValue(); | |
var mail_body = sheet.getRange(3,1).getValue(); | |
MailApp.sendEmail(to_address,mail_subject,mail_body); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment