在Gmail中添加图片

5

我有一个打开Gmail的应用程序。我需要在邮件中附加一张图片,但是我不知道如何操作。我试图复制电子邮件正文中的HTML,但是Gmail无法读取HTML。我该怎么办?


如果您将输出的富文本粘贴到Gmail中,它会读取HTML。 - user5306470
1个回答

1

来自 上传附件

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

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接