【问题标题】:How to send a Google from via email through Google Apps Scripts?如何通过 Google Apps 脚本通过电子邮件发送 Google?
【发布时间】:2016-07-09 12:44:36
【问题描述】:

有没有办法在通过 Google Apps 脚本发送的电子邮件中嵌入 Google 表单?

我已经尝试过Google Apps Script: how to access or call "Send this form to others"? 上建议的方法,但这不会显示表单,因为您会直接从 GoogleForms 发送表单。但是,问题似乎与电子邮件客户端无关。

【问题讨论】:

  • 请提供最少的、完整的和可验证的代码,您是否尝试阅读此SO thread?关于 OAuth 的票务讨论,但是您可以应用社区提供的代码。该代码包括sendForm() 方法,用于通过应用脚本在电子邮件中附加 Google 表单。

标签: email google-apps-script embed google-forms


【解决方案1】:

“嵌入”谷歌文档/表单/等的唯一方法。在 gmail 中实际上是将 URL 作为 gmail 正文的一部分发送。这是因为谷歌产品只存在于云端,因此不能作为“物理”副本发送。

当您发送 url 时,该 url 将在消息中,但在收到的消息的底部也会出现一个框,其中包含您习惯看到的正常缩略图。

【讨论】:

    猜你喜欢
    • 2013-08-15
    • 2020-12-15
    • 1970-01-01
    • 2022-08-20
    • 2010-10-19
    • 1970-01-01
    • 1970-01-01
    • 2011-12-14
    • 2011-02-02
    相关资源
    最近更新 更多