我目前在Office365中遇到附加附件的问题
function attachFiles() {
Office.context.mailbox.item.addFileAttachmentAsync('https://www.google.es/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png', filename, { asyncContext: null }, testCallback);
}
function testCallback(result) {
if (result.error) {
console.log(result.error);
} else {
console.log("Attachment added");
}
}上面的代码总是会导致以下错误(经过一些超时之后):
OSF.DDA.Error {name: "InternalFormatError", message: "Hubo un error de formato interno.", code: 9002}代码几天前就已经过测试,没有任何问题,现在它已经停止工作了。
更新08/02/2016: addFileAttachmentAsync似乎在全球范围内打破了Office365。即使是他们自己在github上的样本也不起作用(https://github.com/OfficeDev/Outlook-Power-Hour-Code-Samples)。寻找解决办法..。
更新08/02/2016 15:41 GMT+1
我已经测试了来自Office365插件商店的另一个外接程序,它使用了addFileAttachmentAsync API调用,但也不起作用(DropboxtoOutlookImporthttps://store.office.com/dropbox-to-outlook-import-WA104379875.aspx?assetid=WA104379875&sourcecorrid=866179b6-8806-4f78-b927-320db5dd6282&searchapppos=4)。如果有人可以从另一个地区测试它&通过电子邮件确认这不是我账户的问题,我会非常感激的。下面是相同错误的屏幕截图:

发布于 2016-02-05 14:29:01
这可能是由于网络连接问题,重试上传.此外,请确保您不超过上传到您的office 365租户的文件大小的最大限制。
https://stackoverflow.com/questions/35223897
复制相似问题