Nadeer Ahammed
Nadeer Ahammed

Reputation: 100

Office.context.mailbox.item.displayReplyAllForm with attachments not working outlook.live.com and outlook api giving internal server error

Using office.js outlook add-ins, displayReplyAllForm with attachments is opening reply form without attachments in outlook.live.com, but in outlook.office.com its working perfect.

Any workaround for this.

Office.context.mailbox.item.displayReplyAllForm(
                    {
                        'htmlBody': template,
                        'attachments': attachments
                    });

thanks, Nadeer

enter image description here

and response is

enter image description here

Upvotes: 3

Views: 724

Answers (1)

AndrewS
AndrewS

Reputation: 369

I tried this snippet of code, but could not reproduce a problem:

    Office.context.mailbox.item.displayReplyAllForm(
{
  'htmlBody' : 'hi',
  'attachments' :
  [
    {
      'type' : Office.MailboxEnums.AttachmentType.File,
      'name' : 'squirrel.png',
      'url' : 'http://i.imgur.com/sRgTlGR.jpg'
    }
  ]
});

does this not work for you?

Upvotes: 1

Related Questions