Skip to content

Office.context.mailbox.displayNewMessageForm is NOT inserting body content #5327

Open
@sshaji

Description

Provide required information needed to triage your issue

Your Environment

  • Platform [PC desktop, Mac, iOS, Office on the web]: Mac
  • Host [Excel, Word, PowerPoint, etc.]: Outlook
  • Office version number: 16.93.2 (25012611)
  • Operating System: MacOS 15.2
  • Browser (if using Office on the web): ______

Expected behavior

Should insert the passed html content to message body.

Current behavior

Not inserting the passed html content to message body (when using the "New Editor (Preview)"

Steps to reproduce

  1. Make sure New Editor preview is enabled in Outlook
  2. Compose an email using Office.context.mailbox.displayNewMessageForm({
    toRecipients: ['[email protected]'],
    subject: 'subject',
    htmlBody: 'htmlBody'
    });
  3. htmlBody is not inserted in message body

Metadata

Assignees

No one assigned

    Labels

    Area: OutlookIssue related to Outlook add-insType: product bugBug in the Office Add-ins platform or Office JavaScript APIs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions