简体   繁体   English

Google 表单 - 确认电子邮件摘要

[英]Google Forms - confirmation Email summary

I created a form to collect some data.我创建了一个表单来收集一些数据。 By default the responder to the form gets a PDF summary after submitting the Email.默认情况下,表单的回复者在提交电子邮件后会获得 PDF 摘要。 Does anybody know if it is possible to send this summary to a second Email adress I mean a copy of the summary to the form Hoster?有谁知道是否可以将此摘要发送到第二个电子邮件地址,我的意思是将摘要副本发送到表单 Hoster? Thanks a lot in advance.非常感谢。

Cheers干杯

Basically repeating what I said in the comments there is no way to add another email address by the UI but you could try to use Apps Script .基本上重复我在评论中所说的内容,无法通过 UI 添加另一个电子邮件地址,但您可以尝试使用Apps Script

You can use a onFormSubmit() , this is a installable trigger that executes every time a form is submitted.您可以使用onFormSubmit() ,这是一个可安装的触发器,每次提交表单时都会执行。

You could try to look at this SO answer , where there is a definition of a trigger and sending a email:您可以尝试查看此 SO answer ,其中有触发器的定义并发送电子邮件:

/**
 * This function is the one that will be executed every time the trigger is activated
 */
function respondToFormSubmit() {
   MailApp.sendEmail ("email@domain.com", "Form Submited: Foo feedback " + Date.now(), "Form Submited: Foo feedback");
}

The setup of the trigger:触发器的设置:

  var form = FormApp.getActiveForm();
  var trigger = ScriptApp.newTrigger('respondToFormSubmit')
  .forForm(form)
  .onFormSubmit()
  .create();

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM