是否有可能在收到电子邮件后,让我们说在谷歌商业应用程序帐户上维护 support@example.com ,通过正文和发件人电子邮件向服务器发出服务器/ api请求?
support@example.com
这个工作流程:
发送电子邮件至:support@example.com
在Google商务应用平台上收到的电子邮件
服务器致电:https://api.example.com/v2/post/
使用帖子参数From,Body
你可以用Google Apps Script来做 .
快速概述:
使用UrlFetch Services和Gmail Services创建脚本:选中收件箱,如果找到电子邮件,则发布到API,将电子邮件标记为已处理(我会使用标签标记为已处理) .
使用Time-Driven Trigger从#1运行脚本 .
你可以通过routing the email on to Google AppEngine并使用AppEngine's mail receive APIs来做到这一点 .
2 回答
你可以用Google Apps Script来做 .
快速概述:
使用UrlFetch Services和Gmail Services创建脚本:选中收件箱,如果找到电子邮件,则发布到API,将电子邮件标记为已处理(我会使用标签标记为已处理) .
使用Time-Driven Trigger从#1运行脚本 .
你可以通过routing the email on to Google AppEngine并使用AppEngine's mail receive APIs来做到这一点 .