使用谷歌应用脚​​本和谷歌表单进行电子邮件验 [英] Email verification using google app script and google forms

查看:104
本文介绍了使用谷歌应用脚​​本和谷歌表单进行电子邮件验的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Google表单应用,其中包含一个电子邮件ID字段。我想验证用户输入的电子邮件是属于他的电子邮件。请注意:我不想验证电子邮件的域/语法。所有的电子邮件都是gmail的ids,所以如果有帮助的话,有没有办法将邮件验证链接发送到他们的gmail帐户,点击链接后,就会输入电子表格。否则取消。
此链接必须在有限的时间内有效。

I have a google form app which has, among others, an email id field.I want to verify that the email entered by user is the email which belongs to him. Pls note: I DO NOT WANT TO VERIFY THE DOMAIN/SYNTAX OF EMAIL. All emails would be gmail ids, so if that helps, is there a way to send a mail validation link to their gmail accounts and on clicking the link, the entry is made to spreadsheet. Else its cancelled. Also the link must be valid for limited time only.

推荐答案

是的,这是可能的。您可以将Google脚本作为网络应用程序发布,并将收件人的电子邮件地址作为查询参数添加到此应用程序。当用户点击链接时,应用程序被调用,电子邮件被验证,应用程序本身可以记录到电子表格中。

Yes this is possible. You can publish a Google script as a web app and add the email address of the recipient as a query parameter to this app. When the user clicks the link, the app is called, the email is verified and the app itself can log an entry into the spreadsheet.

这篇关于使用谷歌应用脚​​本和谷歌表单进行电子邮件验的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆