Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET EWS Component

 AfterLogic Forum : MailBee.NET EWS Component
Subject Topic: EWS Item and MIME Email Item Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
busbar
Newbie
Newbie


Joined: 26 September 2017
Location: Egypt
Online Status: Offline
Posts: 7
Posted: 20 October 2019 at 1:52am | IP Logged Quote busbar

Hi, I have been downloading items from EWS as MIME item then uploading them to other mailboxes based on our applications rules, this works fine but it loses the read/unread status.

To do this I need to set the IsRead flag on the EWS item, but since I am downloading the item as MIME, I can't do that.

The other alternative is to download the items as EWS items then upload them, but how to do it, i can't seem to find a way to do it.

can you hint me.

Thanks.
Back to Top View busbar's Profile Search for other posts by busbar
 
busbar
Newbie
Newbie


Joined: 26 September 2017
Location: Egypt
Online Status: Offline
Posts: 7
Posted: 20 October 2019 at 1:57am | IP Logged Quote busbar

I think I got it, using Mailitem.save(ParentFolderID), would work, right ?!

Will test it.

Thanks.
Back to Top View busbar's Profile Search for other posts by busbar
 
busbar
Newbie
Newbie


Joined: 26 September 2017
Location: Egypt
Online Status: Offline
Posts: 7
Posted: 20 October 2019 at 2:17am | IP Logged Quote busbar

No it is not working as it is still maps to its original service, how can I load the EWS Item to a new Item for a new ews service
Back to Top View busbar's Profile Search for other posts by busbar
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 21 October 2019 at 1:47am | IP Logged Quote Alex

If your issue with IsRead is that you're downloading MailMessage a not EwsItem, this doesn't prevent you from performing two operations instead of just one.

You can download the mail message (operation 1, Ews.DownloadEntireMessage) and then download flags for the same message (operation 2, Ews.DownloadItem).

You can then also use Ews.UpdateItem in another mailbox after uploading the message there to change read/unread status or whatever.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide