Skip to content

office.context.mailbox.item issue #925

Open
@LukeDAnalyte

Description

Good day

When I run your default code, I receive an issue relating to the context:

const item = Office.context.mailbox.item;

    if (item === null) {
        console.error(`Index.razor.js(getEmailData): Unexpected - could not get reference to Office.context.mailbox.item`);
        console.error(`Index.razor.js(getEmailData) Catch Exception: ${err}`);

        return { Subject: "No email item" };
    }

Can you please assist.

Kind regards

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions