嵌入html中的gmail构成窗口
我正在一个网站上工作,我想嵌入Gmail撰写窗口
。这是一个公司页面,其中Google Workspace是公司的标准,因此用户拥有自己的帐户,并且开放Gmail可以自动登录到公司帐户。但是,当我嵌入此内容时:
<iframe src="https://mail.google.com/mail/u/0/?view=cm&fs=1&to=TO&su=SUBJECT&body=BODY"
width="1000" height="300" frameborder="0" scrolling="no"></iframe>
我将信息在iframe中获取邮件。google.com拒绝连接。
通常,我想实现的目的是允许使用用户可以通过录制他/她的电子邮件直接从页面发送的OTR发送电子邮件的简便方法(这就是为什么我要确保它是从Gmail帐户发送的,该特定用户在公司域中具有自己的电子邮件,而不是通过某些标准联系表IE联系表7)。
有什么解决方案可以使其起作用吗?
I am working on a website where I want to embed a Gmail compose window
. This is a corporate page with Google Workspace being a standard in the company so the user has its own account and opening gmail makes it automatically log in to the corporate account. But when I embed this:
<iframe src="https://mail.google.com/mail/u/0/?view=cm&fs=1&to=TO&su=SUBJECT&body=BODY"
width="1000" height="300" frameborder="0" scrolling="no"></iframe>
I get the information in the iframe that mail.google.com refused to connect.
In general, what I want to achieve is to allow easy way of sending emails for the OTRS that the user can send directly from the page with his/her email recorded (that's why I want to make sure that it's sent from the gmail account from a specific user that has its own email in the company domain and not via some standard Contact Form i.e. Contact Form 7).
Is there any solution to make it work?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论