Outlook未在WebAddin

时间:2018-06-08 09:15:12

标签: office-js outlook-web-addins outlook-for-mac

在某些Outlook邮箱中,它不会在Office上下文邮箱中提供邮箱电子邮件ID。它只发生在邮箱的某些帐户上。不是所有人。有没有人遇到过这个问题?

没有获取邮箱ID的原因是什么?

我正在尝试使用以下命令从用户个人资料中访问电子邮件ID:

Office.context.mailbox.userProfile.emailAddress

我已记录整个用户个人资料,但无法在其中找到邮箱电子邮件ID。

Office.context.userProfile:

  

{" $$ d__getDisplayName $ p $ 0":function(){return b.apply(a,arguments)},   " $$ d__getEmailAddress $ p $ 0":function(){return b.apply(a,arguments)},   " $$ d__getTimeZone $ p $ 0":function(){return b.apply(a,arguments)},   " $$ d__getUserProfileType $ p $ 0":function(){return   b.apply(a,arguments)}," _data $ p $ 0":{" _data $ p $ 0":{" attachments":   [{" attachmentType":0," contentType":" application / octet-stream",   " ID&#34 ;:   " AAMkAGVhYzA1NmRmLTRiZjUtNDEwMS1hMWMxLTZlM2RjMWVhMTQzNABGAAAAAAAScTof + QIKS4tDDog5ifPPBwBc63luyEElTKdkOmKxCJ + wAAAAAAEMAABc63luyEElTKdkOmKxCJ + wAACKOm4aAAABEgAQAFZrqIFbyfBJtvjbE7hSnoo =&#34 ;,   " isInline":false," name":   " citrix-xenmobile-worx-mobile-apps-overview.pdf"," size":2282605},   {" attachmentType":0," contentType":" application / octet-stream"," id":   " AAMkAGVhYzA1NmRmLTRiZjUtNDEwMS1hMWMxLTZlM2RjMWVhMTQzNABGAAAAAAAScTof + QIKS4tDDog5ifPPBwBc63luyEElTKdkOmKxCJ + wAAAAAAEMAABc63luyEElTKdkOmKxCJ + wAACKOm4aAAABEgAQAGNiE5qMZeBIpETDR6IMuu4 =&#34 ;,   " isInline":false," name":" xxxxxx-overview.pdf",   " size":1331472},{" attachmentType":0," contentType":   " application / octet-stream"," id":   " AAMkAGVhYzA1NmRmLTRiZjUtNDEwMS1hMWMxLTZlM2RjMWVhMTQzNABGAAAAAAAScTof + QIKS4tDDog5ifPPBwBc63luyEElTKdkOmKxCJ + wAAAAAAEMAABc63luyEElTKdkOmKxCJ + wAACKOm4aAAABEgAQAIrqasfNYRFAnC8BKy2yZ90 =&#34 ;,   " isInline":false," name":   " XXXXXX交换-2013.pdf&#34 ;,   "大小":81489}],   " cc":null,   " conversationId":" AAQkAGVhYzA1NmRmLTRiZjUtNDEwMS1hMWMxLTZlM2RjMWVhMTQzNAAQAOU92M54RSlIl2w85HL0Gag =",   " dateTimeCreated":1528693025000,   " dateTimeModified":1528693026000,   " dateTimeSent":1528692997000,   "实体":{"地址":null,   "联系人":null," EmailAddresses":null," MeetingSuggestions":null,   " PhoneNumbers":null," TaskSuggestions":null," Urls":null},   "错误":假,   " ewsUrl":" https://exch2016mbx01.hostingcloudapp.net/EWS/Exchange.asmx&#34 ;,   " filteredEntities":null,   "来自":{"地址":   " xxxxxslxxxai@insify6.onmicrosoft.com"," appointmentResponse":0," name":   " xxxxxslxxxai@insify6.onmicrosoft.com"," recipientType":7},   " hostVersion":" 16.13.1(180523.04)",

     
    

" ID":" AAMkAGVhYzA1NmRmLTRiZjUtNDEwMS1hMWMxLTZlM2RjMWVhMTQzNABGAAAAAAAScTof + QIKS4tDDog5ifPPBwBc63luyEElTKdkOmKxCJ + wAAAAAAEMAABc63luyEElTKdkOmKxCJ + wAACKOm4aAAA =",

  
     

" internetMessageId":" BM1PR0101MB1378AA29CE35685ED42BF240AA780@BM1PR0101MB1378.INDPRD01.PROD.OUTLOOK.COM" ;,

     

" itemClass":" IPM.Note",   " itemType":1,   " location":"",   " normalizedSubject":"邮件室XXXXXX",   " permissionLevel":2,   " restUrl":"",   "发件人":{"地址":   " xxxxxslxxxai@insify6.onmicrosoft.com"," appointmentResponse":0," name":   " xxxxxslxxxai@insify6.onmicrosoft.com"," recipientType":7},   "主题":"邮件室XXXX",   "到":[{"地址":   " YYYYYY@xyz.com"," appointmentResponse":0," name":   " YYYYYY"," recipientType":1}],    " userTimeZone":"印度标准时间",   " wasSuccessful":1}," _permissionLevel $ p $ 0":3}}

outlookDiagnostics:

{"host": "Outlook", "platform": "Mac", "version": "16.13.523.1"}

对于同一帐户,如果我在浏览器中打开,则会给出以下回复:

{
    "$$d__getDisplayName$p$0": function(){
        returnb.apply(a,
        arguments)
    },
    "$$d__getEmailAddress$p$0": function(){
        returnb.apply(a,
        arguments)
    },
    "$$d__getTimeZone$p$0": function(){
        returnb.apply(a,
        arguments)
    },
    "$$d__getUserProfileType$p$0": function(){
        returnb.apply(a,
        arguments)
    },
    "_data$p$0": {
        "_data$p$0": {
            "attachments": [
                {
                    "attachmentType": 0,
                    "contentType": "application/octet-stream",
                    "id": "AAMkAGVhYzA1NmRmLTRiZjUtNDEwMS1hMWMxLTZlM2RjMWVhMTQzNABGAAAAAAAScTof+QIKS4tDDog5ifPPBwBc63luyEElTKdkOmKxCJ+wAAAAAAEMAABc63luyEElTKdkOmKxCJ+wAACKOm4aAAABEgAQAFZrqIFbyfBJtvjbE7hSnoo=",
                    "isInline": false,
                    "name": "citrix-xenmobile-worx-mobile-apps-overview.pdf",
                    "size": 1688944
                },
                {
                    "attachmentType": 0,
                    "contentType": "application/octet-stream",
                    "id": "AAMkAGVhYzA1NmRmLTRiZjUtNDEwMS1hMWMxLTZlM2RjMWVhMTQzNABGAAAAAAAScTof+QIKS4tDDog5ifPPBwBc63luyEElTKdkOmKxCJ+wAAAAAAEMAABc63luyEElTKdkOmKxCJ+wAACKOm4aAAABEgAQAGNiE5qMZeBIpETDR6IMuu4=",
                    "isInline": false,
                    "name": "citrix-xenmobile-technology-overview.pdf",
                    "size": 985344
                },
                {
                    "attachmentType": 0,
                    "contentType": "application/octet-stream",
                    "id": "AAMkAGVhYzA1NmRmLTRiZjUtNDEwMS1hMWMxLTZlM2RjMWVhMTQzNABGAAAAAAAScTof+QIKS4tDDog5ifPPBwBc63luyEElTKdkOmKxCJ+wAAAAAAEMAABc63luyEElTKdkOmKxCJ+wAACKOm4aAAABEgAQAIrqasfNYRFAnC8BKy2yZ90=",
                    "isInline": false,
                    "name": "citrix-netscaler-datasheet-microsoft-exchange-2013.pdf",
                    "size": 60755
                }
            ],
            "consentMetadata": null,
            "conversationId": "AAQkAGVhYzA1NmRmLTRiZjUtNDEwMS1hMWMxLTZlM2RjMWVhMTQzNAAQAOU92M54RSlIl2w85HL0Gag=",
            "dateTimeCreated": 1528693025000,
            "dateTimeModified": 1528719978000,
            "dateTimeSent": 1528692997000,
            "endNodeUrl": null,
            "entities": {
                "Addresses": null,
                "Contacts": null,
                "EmailAddresses": null,
                "IsLegacyEntityExtraction": true,
                "MeetingSuggestions": null,
                "PhoneNumbers": null,
                "TaskSuggestions": null,
                "Urls": null
            },
            "entryPointUrl": "https://localhost:8000/web-addin/index/read",
            "ewsUrl": "https://webmail.hostingcloudapp.com/EWS/Exchange.asmx",
            "extensionId": "504c90a8-b38d-4fe7-1234-eed812c585b5msgReadOpenPaneButton",
            "filteredEntities": {},
            "from": {
                "address": "sravani@insify6.onmicrosoft.com",
                "name": "sravani@insify6.onmicrosoft.com",
                "recipientType": 3
            },
            "hostVersion": "15.1.1261.35",
            "id": "AAMkAGVhYzA1NmRmLTRiZjUtNDEwMS1hMWMxLTZlM2RjMWVhMTQzNABGAAAAAAAScTof+QIKS4tDDog5ifPPBwBc63luyEElTKdkOmKxCJ+wAAAAAAEMAABc63luyEElTKdkOmKxCJ+wAACKOm4aAAA=",
            "internetMessageId": "<BM1PR0101MB1378AA29CE35685ED42BF240AA780@BM1PR0101MB1378.INDPRD01.PROD.OUTLOOK.COM>",
            "isRead": true,
            "itemClass": "IPM.Note",
            "itemType": 1,
            "marketplaceAssetId": null,
            "marketplaceContentMarket": null,
            "normalizedSubject": "Mail room  2018-06-11T10:25:53.072844",
            "overrideWindowOpen": false,
            "owaView": "ThreeColumns",
            "permissionLevel": 2,
            "restUrl": "https://webmail.hostingcloudapp.com/api",
            "sender": {
                "address": "sravani@insify6.onmicrosoft.com",
                "name": "sravani@insify6.onmicrosoft.com",
                "recipientType": 3
            },
            "subject": "Mail room  2018-06-11T10:25:53.072844",
            "timeZoneOffsets": [
                {
                    "end": 8640000000000000,
                    "offset": 330,
                    "start": -8640000000000000
                }
            ],
            "to": [
                {
                    "address": "james@xenovus-americana.com",
                    "name": "James",
                    "recipientType": 2
                }
            ],
            "userDisplayName": "James",
            "userEmailAddress": "james@xenovus-americana.com",
            "userProfileType": "enterprise",
            "userTimeZone": "India Standard Time"
        },
        "_permissionLevel$p$0": 3
    }
}

Outlook webclient诊断信息:

  

{&#34; host&#34;:&#34; Outlook&#34;,&#34; platform&#34;:&#34; OfficeOnline&#34;,&#34; version&#34;:   &#34; 16.0.8004.1000&#34; }

如果我在不同的机器外观中配置相同的帐户,它正在工作。此外,如果我在同一个Outlook客户端配置不同的邮件帐户,这是有效的。此问题仅出现在某些特定的Outlook客户端和邮件帐户组合中。

添加了更多信息以了解问题。

0 个答案:

没有答案