修改草稿而不下载附件 [英] Modifying a draft without downloading attachments

查看:95
本文介绍了修改草稿而不下载附件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Gmail帐户中保存了一份草稿,其中包含附件。在稍后阶段,我意识到我必须通过Gmail API向邮件添加一些文本。在更晚的阶段,我决定发送草稿。根据我的发现,唯一的方法是:

I have a draft saved on my Gmail account, containing an attachment. At a later stage, I realise that I have to add some text to the mail, via the Gmail API. At an even later stage, I decide to send the draft. From what I've found, the only way to do this is to:


  1. 下载草稿并对其进行解码。

  2. 按照自己的喜好编辑邮件正文。

  3. 编码并保存草稿。 发送草稿。
  4. >
  1. Download the draft and decode it.
  2. Edit the message body to your liking.
  3. Encode it and save the draft.
  4. Send the draft.

这是非常好的,直到你在选秀中有很大的依恋。除了使用 Users.draft进行上述步骤之外,还有其他方法吗? :更新,以便您只需要更改邮件时不必下载附件?

This is all well and good, until you have a big attachment in your draft. Is there another way than doing the steps outlined above with the Users.draft: update, so that you don't have to download the attachments when you just want to alter the message?

谢谢。

推荐答案

不幸的是,目前似乎还没有更简单的替代方案。我不确定需要进行哪些API更改才能支持该用例,但您可以提交功能请求,我们可以与团队讨论。

No, unfortunately there doesn't appear to be a simpler alternative at the moment. I'm not sure what API changes would be needed to support that use case, but you can file a feature request and we can talk to the team about it.

这篇关于修改草稿而不下载附件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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