我有一个打开Gmail的应用程序。我需要在邮件中附加一张图片,但是我不知道如何操作。我试图复制电子邮件正文中的HTML,但是Gmail无法读取HTML。我该怎么办?
我有一个打开Gmail的应用程序。我需要在邮件中附加一张图片,但是我不知道如何操作。我试图复制电子邮件正文中的HTML,但是Gmail无法读取HTML。我该怎么办?
来自 上传附件
Example: Simple upload
The following example shows the use of a simple upload request for the Gmail API.
POST /upload/gmail/v1/users/userId/messages/send?uploadType=media HTTP/1.1 Host: www.googleapis.com Content-Type: message/rfc822 Content-Length: number_of_bytes_in_file Authorization: Bearer your_auth_token Email Message data