microsoftgraph / microsoftgraph/msgraph-sdk-php

Add referenceAttachment to a Message

オープン
#1,289 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

ToTriage
主要言語
PHP
スター
669
フォーク
150
平均マージ
15時間 21分
マージ済み PR(30日)
3

説明

I have tried creating a ReferenceAttachment and calling

message->setAttachments([$referenceAttachment]) but it is not working, no attachment on the received mail, is this supported by this library ?

It seems like the jsonSerialize doesn't serialize the referenceAttachment:

image

Picture shows the relevant output of $message->jsonSerialize()

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、ReferenceAttachment、message->setAttachments()、message->jsonSerialize() を使用した例を再現します。シリアライズ中に添付ファイルがどのように表現されるかを調べ、シリアライズされたリクエストと受信したメールを比較します。ReferenceAttachment が送信メッセージに含まれ、受信したメールに表示されるか、またはライブラリがサポートしていないことを明確にドキュメント化していれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
php
領域
api
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
32/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。