I am trying to get message body and write it in a div as text. But it doesn't work.. What is wrong?
The following is the part of my code..`
$('#btn1').click(yaz);
......
function yaz() {
$('.result').text(denemefonk);
}
function denemefonk() {
Office.context.mailbox.body.getAsync(Office.CoercionType.Text);
}