EWS 2010 CreateAttachment API调用异常求助(PHP 5.5 + curl 7.49.1)
在EWS 2010中调用CreateAttachment API遇到问题
我最近在EWS 2010环境下调用CreateAttachment API时碰到了问题,使用的技术栈是PHP 5.5搭配curl 7.49.1。下面是我用来测试问题的脚本片段:
$ewswrapper = new EWSWrapper($host, $user, $pass); try { // 参考示例: // http://jamesarmes.com/php-ews/doc/0.1/examples/contact-set-update-photo.html // https://github.com/jamesiarmes/php-ews/blob/master/examples/contact/set-photo.php $picture = base64_decode(" ... 有效base64图片内容 ... "); $... } catch (Exception $e) { // 异常处理逻辑 }
我尝试参考相关示例代码来实现图片附件的创建,但目前调用API始终无法成功,希望能得到大家的帮助排查问题。
内容的提问来源于stack exchange,提问作者Leonard Schütz
相关产品推荐
相关产品推荐

