exchanger
exchanger copied to clipboard
Change message attribute
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 sounds good