![](/img/trans.png)
[英]How to make a Gmail API batch request from google apps script?
[英]How to request and send payments via Gmail API and Google Apps Script
我想通過 Gmail API 和 Google Apps 腳本請求和發送付款。
以下是使用 Google Apps 腳本與 Gmail API 一起使用的文檔。
以下是為開發者提供的有關如何使用 Google Pay 的信息。
因此,基於此,似乎應該有一種方法可以使用 Google Apps 腳本來利用 Gmail API 來發送和接收付款。 但我找不到任何文檔如何做到這一點。
那么我該如何實現呢?
代碼.gs // Send an email with a file from Google Drive attached as a PDF. var file = DriveApp.getFileById('1234567890abcdefghijklmnopqrstuvwxyz'); GmailApp.sendEmail('mike@example.com', 'Attachment example', 'Please see the attached file.', { attachments: [file.getAs(MimeType.PDF)], name: 'Automatic Emailer Script' });
當前沒有可用於該用例的 API 或 Apps 腳本服務。
您應該向Google 問題跟蹤器go 並為此提交功能請求。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.