简体   繁体   English

如何在电子邮件中创建确认链接?

[英]How can I create a confirmation link in email?

So I have a spreadsheet which serves as form. 所以我有一个电子表格作为表格。 What I basically want to do is generate a link that when you click it it will trigger an Apps Script function. 我基本上想做的是生成一个链接,当您单击它时,它将触发一个Apps脚本功能。 So the question is more "How to generate a link that when is clicked (requested) it will run an Apps script function?" 因此,问题更多是“如何生成一个链接,当该链接被单击(要求)时,它将运行Apps脚本功能?”

Later I need to send this link to a specific email but that one I do know how to do. 稍后,我需要将此链接发送到特定的电子邮件,但是我确实知道该怎么做。

You can serve an HTML page with the doGet/doPost method, and when opened it triggers any Apps Script function plus shows a success message, you can also use an AJAX/XMLHttpRequest from any other page to trigger apps script functions with conjunction with the doGet/doPost. 您可以使用doGet / doPost方法为HTML页面提供服务,并且在打开HTML页面时会触发任何Apps脚本功能并显示成功消息,还可以使用其他页面上的AJAX / XMLHttpRequest来与doGet一起触发应用脚本功能/ doPost。

How to serve a HTML page from Apps Script: 如何通过Apps脚本提供HTML页面:
https://developers.google.com/apps-script/guides/html/ https://developers.google.com/apps-script/guides/html/

How to execute GAS functions from a page deployed from Apps Script: https://developers.google.com/apps-script/guides/html/communication 如何从通过Apps脚本部署的页面执行GAS功能: https//developers.google.com/apps-script/guides/html/communication

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

相关问题 我将如何创建一种围绕密码确认和电子邮件确认的方法? - How would I create a way around password confirmation and email confirmation? Javascript:在确认电子邮件中找到确认链接 - Javascript: find confirmation link in confirmation email 如何在没有DOM操作或jQuery的情况下在AngularJS中制定指令来验证电子邮件或密码确认? - How can I make a directive in AngularJS to validate email or password confirmation without DOM manipulation or jQuery? 如何创建可点击的链接? - How can I create a clickable link? 如何使用 nodejs 对电子邮件进行身份验证? 我收到一封关于用户提交的电子邮件的电子邮件,然后我点击我端的一个链接来验证这封电子邮件 - How can I authenticate an email using nodejs? I get an email for user submitted email, then I click a link on my end to verify this email 我该如何编码Zapier以遵循电子邮件中提供的链接? - How can i code Zapier to follow a link that was provided in an email? SimpleModal-如何将电子邮件地址传递给确认模式? - SimpleModal - How do I pass an email address to confirmation modal? 如何匹配Jquery的密码确认 - How can I match password confirmation by Jquery 如何测试电子邮件确认循环 - How to test an email confirmation loop 如何通过确认在slickgrid的每一行上创建删除按钮? - How do I create a delete button on every row in slickgrid with confirmation?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM