We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
如果您可以通过监视和观察发生的情况作为 Gmail 之上的浏览器插件来完成您想做的所有事情,那么您可能想看看这个。它不会完全满足您的要求,但它可以让您沿着这条路到达某个地方。
Gmailr
不幸的是,您可能需要一台服务器。即使您可以解决跨域问题,Gmail 的界面基本上也是在页面加载时使用 JavaScript 动态构建的。因此,JavaScript 函数名称实际上一直在变化。
几乎每个人都按照您所描述的方式进行操作(我们还在 emailga 上提供了 Gmail 的替代界面)路线。我也认识 OtherInbox 的人,他们有一个使用 IMAP 接口来完成大部分任务的服务器组件。
If you can do everything you want as a browser plugin on top of Gmail, by monitoring and observing what goes on, you might want to take a look at this. It won't quite do what you're asking for, but it gets you somewhere along the path.
Gmailr
Unfortunately, you're probably going to need a server. Even if you could work around the cross-domain issues, Gmail's interface is basically built dynamically with JavaScript when the page loads. So the JavaScript function names will be changing on you literally all the time.
Just about everybody doing anything like what you're describing (we provide an alternative interface to Gmail as well at emailga) has gone this route. I know the OtherInbox guys as well, and they have a server component that uses the IMAP interface to do most of their magic.
我认为您需要创建一个自定义邮件服务器,它可以通过 pop3 或 imap 或 smtp 连接到 gmail。
另一方面我确信ajax请求不能是跨域请求,但是php可以做到这一点。所以你必须需要一个 php 文件,通过 pop3|imap|smtp 或 ajax 访问 gmail。但只有 javascript 无法做到这一点。
i think you need to create a custom mail server which can connect to gmail via pop3 or imap or smtp.
on the other hand i am sure that ajax requests cannot be cross domain requests, but the php can do this. so you must need a php file wich access to the gmail through pop3|imap|smtp or ajax. but only javascript cant do that.
请查看 Gmail API。
我认为你可以使用它,尽管我还没有深入研究它。
希望有帮助。
Please look at Gmail API.
I think you can work with it, although, I haven't investigated it in depth.
hope it helps.