microsoftgraph / microsoftgraph/msgraph-sdk-php
Missing From Model
まだ誰も着手していません。
- 主要言語
- PHP
- スター
- 669
- フォーク
- 150
- 平均マージ
- 15時間 21分
- マージ済み PR(30日)
- 3
説明
I was able to solve this for the time being making a copy of the Recipient model and renaming everything as From
You can also just use the Recipient model vs creating a whole new model but that kinda defeats the reason to have its own names makes it hard to understand why you would be using a Recipient model for a From function.
Example code of how it has been implemented.
$rrrr = new Model\From();
$rrrr->setEmailAddress(array('address' => $from_mailbox));
$message->setFrom(($rrrr));
This ensures the from address is set correctly and the email will send.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず既存の Recipient モデルと、issue で提案されている Model\From の使用方法を比較し、次に setFrom と setEmailAddress がこれらのモデルオブジェクトをどのように扱うかを確認します。From モデルで送信者アドレスを正しく設定でき、メールが期待どおりに送信されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- php
- 領域
- api
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100