[英]How do I get the subject and body of every mail that I click to my add on that I created?
I want to create an add-on similar to Trello.
我想创建一个类似于 Trello 的附加组件。 Every time you open a mail, Trello automatically fills in the "Name" and "Description" fields for you.
每次您打开邮件时,Trello 都会自动为您填写“名称”和“描述”字段。 The name here is the "subject" of the mail and the description is the "body" of the mail.
这里的名称是邮件的“主题”,描述是邮件的“正文”。 I want to achieve the same thing.
我想实现同样的目标。
[trello-image-example][1] [trello-image-example][2] [my-add-on][3]
[trello-image-example][1] [trello-image-example][2] [my-add-on][3]
Here is my code: https://www.toptal.com/developers/hastebin/pejasapero.php这是我的代码:https://www.toptal.com/developers/hastebin/pejasapero.php
I get this when I run my code:
当我运行我的代码时,我得到了这个:
[content-not-available-image][4]
[内容不可用图像][4]
[1]: https://i.stack.imgur.com/ykRJU.png [2]: https://i.stack.imgur.com/lTAv9.png [3]: https://i.stack.imgur.com/OgHGw.png [4]: https://i.stack.imgur.com/ibWzu.png
[1]: https://i.stack.imgur.com/ykRJU.png [2]: https://i.stack.imgur.com/lTAv9.png [3]: https://i.stack. imgur.com/OgHGw.png [4]: https://i.stack.imgur.com/ibWzu.png
What you want to do is to create a Workspace Add-on
.您要做的是创建一个
Workspace Add-on
。
Here is a sample which shows, how to get data from a Email and integrate it into the Workspace Add-on. 下面是一个示例,展示了如何从 Email 获取数据并将其集成到 Workspace 插件中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.