java - Graph REST API [Mail] 如何下载带有附件的电子邮件 .eml
问题描述
以下代码是我检索 EML 文件的调用,但我还需要检索其中的附件。我该怎么做 ?
jsonAttach = (StringResponse) Unirest.get(
String.format("https://graph.microsoft.com/v1.0/users/%s/messages/%s/$value",
user_email,tempMailId))
.header("Accept", "application/json")
.header("Authorization", tokenType + " " + accessToken)
.asString();
解决方案
推荐阅读
- android-studio - 为什么第三个edittext在第二个edittext后面
- python - 如果数字太大,如何分解作为两个素数乘积的数字
- html5-video - 如何使用 Apache Royale 播放 mp4 视频?
- python - QHBarModelMapper 和 QAbstractItemModel 行编号
- python - 欧拉问题 #8 for 循环正在迭代,但第一次只创建一个非空白块
- ruby-on-rails - 显示仅属于该用户的记录 ruby on rails
- python - 我什么时候应该在 python 中使用静态类变量?
- python - 如何将 Python 程序编译为包含多个文件的 mac?
- python - 如何使用“saved_model.simple_save”保存的张量流模型?
- kubernetes - kompose 无法将 docker compose 转换为仅键字段