Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个google spreadsheet. 当值为 时cell D2 = 5,我想自动向给定地址发送电子邮件。
google spreadsheet
cell D2 = 5
你能帮我写代码吗?
谢谢
您可以在 google 电子表格 -> 工具 -> 脚本编辑器中使用脚本编辑器。
在这里,您可以在脚本中使用一些类似的代码:
MailApp.sendEmail(useremail, subject , null,{htmlBody:"Dear"+" "+[i]+newline+" 请检查你的"})
其中 useremail: 是一个包含字符串电子邮件的变量,等等,您可能可以从变量的名称中获得。