В качестве альтернативы можно также использовать file_get_contents и stream_context_create :
$opts = array('http' =>
array(
'header' => 'User-agent: Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420.1 (KHTML, like Gecko) Version/3.0 Mobile/3B48b Safari/419.3',
)
);
$context = stream_context_create($opts);
$result = file_get_contents($url, false, $context);
Установите ключ своего дополнения на 1 в
HKCU\Software\Policies\Microsoft\Office\16.0\Outlook\Resiliency\AddinList
и
HKCU\Software\Microsoft\Office\16.0\Outlook\Resiliency\DoNotDisableAddinList
и удалите его из
HKCU\Software\Microsoft\Office\16.0\Outlook\Resiliency\DisabledItems
«16» в приведенных выше ссылках. в версию Outlook (16 на 2016 год, 15 на 2013 год и т. д.)