![](/img/trans.png)
[英]How to pass inline images from Class GmailMessage's getAttachments to Class MailApp's sendEmail?
我想使用GmailMessage 的 getAttachments提取內嵌圖像,然后通過Class MailApp 的 sendEmail發送它們。 問題是前者返回一個 Blob 附件數組,而后者需要一個 JavaScript 對象,其中包含從圖像鍵 (String) 到圖像數據 Blob 的映射 ...