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
Library is not able to update an EmailMessage Body
The following code will work on C# to change the body of an email
ExchangeServiceewsClient;// A properly authenticated EWS service object tied to a mailboxstringemailID;// A valid email ID for that mailboxvarmessage=EmailMessage.Bind(ewsClient,newItemId(emailID));message.Body=newMessageBody(0,"<p>This is the replaced body</p>");message.Update(ConflictResolutionMode.AlwaysOverwrite);
In the other hand, it's equivalent on javascrypt throws Exception: The request failed schema validation.
constewsClient: ExchangeService;// A properly authenticated EWS service object tied to a mailboxconstemailID: string;// A valid email ID for that mailboxconstmessage=awaitEmailMessage.Bind(ewsClient,newItemId(emailID));message.Body=newMessageBody(0,'<p>This is the replaced body</p>');awaitmessage.Update(ConflictResolutionMode.AlwaysOverwrite);
The text was updated successfully, but these errors were encountered:
Library is not able to update an EmailMessage Body
The following code will work on C# to change the body of an email
In the other hand, it's equivalent on javascrypt throws
Exception: The request failed schema validation.
The text was updated successfully, but these errors were encountered: