Rajeev
Rajeev

Reputation: 5002

Open reply form with addition to and cc fields in Outlook Web Add-in

I am trying to add extra recepients inaddition to the existing ones in reply mail invoked by plugin.

My code :

Office.context.mailbox.item.displayReplyAllForm(
        {
            'htmlBody' : emailBodyHtml,
            'normalizedSubject' : subject,
            'to' : to,
            'cc' : cc,
            'callback' : function(asyncResult)
            {
                console.log('reply mail with asyncResult.value ==> ' + asyncResult);
            }
        });

Unfortunately it is not setting to and cc emails which are added by me. Not even throwing any error. It is taking default mails of parent mail. How could I make it to open reply mail with addition emails?

Upvotes: 1

Views: 104

Answers (1)

Marc LaFleur
Marc LaFleur

Reputation: 33114

The to and cc properties are not currently supported by displayReplyForm or displayReplyAllForm methods at this time.

I would recommended adding this request to the Office UserVoice so that it can be considered by the Outlook team going forward.

Upvotes: 2

Related Questions