Skip to content

Instantly share code, notes, and snippets.

@federicomichela
Created January 31, 2018 11:03
Show Gist options
  • Save federicomichela/57b0470d008175858d7c4e0763d19197 to your computer and use it in GitHub Desktop.
Save federicomichela/57b0470d008175858d7c4e0763d19197 to your computer and use it in GitHub Desktop.
OutlookMailbox - parse mail content
function processHtmlBody(asyncResult) {
var hiddenURL = $(asyncResult.value).find(‘#x_hiddenURL’).text()
console.log(hiddenURL);
}
Office.context.mailbox.item.body.getAsync(“html”, processHtmlBody)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment