You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reading emails with attachments in .EML format, we receive an error.
Sorry in advance we can't use typescript.
We use the version: 0.14.0
NodeJS version: v20.11.1
letitems=awaitexch.FindItems(folderId,"isRead:false",view);for(varitemofitems.Items){letres=awaititem.Load();letattachs=[];if(item.HasAttachments){constexchangeAttachments=item.Attachments?.GetEnumerator()??[];forawait(constattachmentofexchangeAttachments){constattachments=awaitexch.GetAttachments([attachment.Id],"HTML",[]);//there's an error hereconsole.log('attachments',attachments);constitemAttachment=attachments.Responses[0].Attachment;awaititemAttachment.Load();console.log('attach',itemAttachment);}}
and getting error:
If we try to simply download the attachment:
letitems=awaitexch.FindItems(folderId,"isRead:false",view);for(constitemofitems.Items){letres=awaititem.Load();if(item.HasAttachments){for(constattachofitem?.Attachments?.items){console.log('attach',attach);letresult=awaitattach.Load();//there's an error here}}}
and getting error:
Or other variant:
for(constattachofitem?.Attachments?.items){console.log('attach',attach);letresult=awaitattach.Load([attach.id]);//there's an error here// }}
and getting error:
Maybe there is a solution to this problem? Thanks for the help.
The text was updated successfully, but these errors were encountered:
Hi, I have a similar issue.
I can get the ItemAttachment but its attribute "item" is empty, so I cannot retrieve anything of the eml attachment... but the name.
So no access to the body nor to the inner attachments.
The method load on these attachments gives
throw new ArgumentException_1.ArgumentException(ExtensionMethods_1.StringHelper.Format("The element at position {0} is invalid", count), paramName, e);
I am about to switch to python, a first prototype works...
Hello.
When reading emails with attachments in .EML format, we receive an error.
Sorry in advance we can't use typescript.
We use the version: 0.14.0
NodeJS version: v20.11.1
This comment does not work:
and getting error:
If we try to simply download the attachment:
and getting error:
Or other variant:
and getting error:
Maybe there is a solution to this problem? Thanks for the help.
The text was updated successfully, but these errors were encountered: