Open jeffreyleeon opened 5 years ago
I am using the config "temp" to always clone messages.xsd, services.wsdl and types.xsd to '/tmp' folder.
var ewsConfig = {
username: username,
password: password,
host: url,
temp: '/tmp'
};
And I noticed that from time to time services.wsdl file will be regenerated, causing "ExchangeServices" to be undefined.
I am also getting similar issue from few days.
TypeError: Cannot read property 'ExchangeServicePort' of undefined Any workaround to fix this issue?
We are also experiencing this issue while using the temp folder config setting.
I am using version 3.2.4. I have setup a valid email account and successfully authenticated. When calling ".run" function from ews.js, the returned client's ExchangeServices is undefined, causing the chaining of "client.describe().ExchangeServices.ExchangeServicePort" failing.
Did I wrongly setup the environment? Or the account needs to subscribe on some ExchangeServices before getting a valid "ExchangeServices" object? Thank you.