exchanger icon indicating copy to clipboard operation
exchanger copied to clipboard

Change message attribute

Open avinashbangar opened this issue 7 years ago • 1 comments

Hi,

Through EWS API I'm marking one of the email as read. For which I'm using Item.is_read attribute. I'm creating object of Exchanger::UpdateItem. However after sending the request to edit the is_read property. I'm getting ResponseError as "MessageDisposition attribute is required".

The only way to fix it, is to add one more attribute in UpdateItem class, similar to send_meeting_invitations_or_cancellations, having name message_disposition and have a if check in update_item_attributes method similar to the above field.

If you are fine with this approach I will submit a Pull Request to fix this issue.

avinashbangar avatar Mar 09 '17 23:03 avinashbangar

@avinashbangar sounds good

ebeigarts avatar Mar 21 '17 09:03 ebeigarts