我试图在收件箱中收到所有邮件,但它无效。我尝试了Microsoft Angular SDK reference
MainController.js
getMessages: function getMessages(email) {
return graphClient.api('/me/messages').get({ 'message' : email });
}
GraphHelper.js
我改变了graphHelper.js
var APPLICATION_CONFIG = {
clientID: "b73f88f7-2169-471f-9381-e9f098684140",
redirectUri: "http://localhost:8080/",
interactionMode: "popUp",
graphEndpoint: "https://graph.microsoft.com/v1.0/me/messages",
graphScopes: ["user.read mail.send Mail.Read Mail.ReadWrite "]
};
Config.JS
{{1}}