Closed juan-ruiz closed 8 years ago
Try this:
// Get Mails
var ewsFunction = 'FindItem';
var ewsArgs = {
attributes:{Traversal:'Shallow'},
'ItemShape': {
'BaseShape':'IdOnly'
},
'ParentFolderIds' : {
'DistinguishedFolderId' : 'deleteditems'
}
};
Thanks, that worked like a charm!
Hi there,
First of all, node-ews is amazing, im really looking forward to unleahs its potential :)
Now, im getting the following following error message on my electron app:
"a:ErrorSchemaValidation: The request failed schema validation: The required attribute 'Traversal' is missing."
I understand i have to set the Traversal attribute on the ewsArgs, but im not sure how.
Im trying the following:
var ews = new EWS(username, password, host, options);
before the ews run in an attempt to replicate the following soap call:
So, how can i set the Traversal attribute that is right on the findItem tag?
Now, thanks a lot for your help, and for developing this,