【问题标题】:setCollectEmail is not supported in Google Apps ScriptGoogle Apps 脚本不支持 setCollectEmail
【发布时间】:2013-06-13 22:08:03
【问题描述】:

我正在尝试根据谷歌电子表格中的条目自动创建一个表单。我想使用以下代码将表单设置为自动收集电子邮件:

function createForm()  
{  
   var form = FormApp.create('New Form')  
                .setCollectEmail(true);

    //I have also tried form.setCollectEmail(true);  
}

除非我运行它,否则我会收到一条错误消息“不支持此操作”。

我引用的是:https://developers.google.com/apps-script/reference/forms/form

谢谢!
-丹

【问题讨论】:

    标签: google-apps-script google-docs-api google-spreadsheet-api google-forms


    【解决方案1】:

    我相信只有在您运行 Google Apps for Business/Education/Domain 时才能收集电子邮件。

    请看这里:https://developers.google.com/apps-script/reference/forms/form#collectsEmail()

    干杯。

    【讨论】:

    • 谢谢!我不知道为什么我直到现在才看到那条线。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-10-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多