2017-12-22 15 views
0

ジャンク/スパムフォルダの特別な名前はありますか? <a href="https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/message_move" rel="nofollow noreferrer">Microsoft Graph document</a>で

先フォルダID、またはトレイ下書きSentItems、又はDeletedItemsよく知られているフォルダ名。

destinationIdの場合、ジャンク/スパムフォルダの特別な名前はありますか?試しました ジャンク、JunkItems、スパム、SpamItems、どちらも動作しません。

POST /me/messages/{mailId}/move 
{ 
    destinationId: 'Junk' 
} 

答えて

2

迷惑メールフォルダの宛先IDはJunkEmailです。

詳細については、WellKnownFolderName enumeration MSDNのページを参照してください。

+0

ありがとう、非常に便利です! –

関連する問題

 関連する問題