📅  最后修改于: 2022-03-11 14:55:48.937000             🧑  作者: Mango
var myFiles = [{fileName:"doc1", content:file1}, {fileName:"doc2", content:file2}]
GmailApp.sendEmail("alex.shaw94@gmail.com", subject,content, {attachments: myFiles});