This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Buffer } from "buffer"; | |
| var item: Office.MessageRead; | |
| Office.onReady(() => { | |
| item = Office.context.mailbox.item; | |
| }); | |
| /** | |
| * Gets the email in EML format (IMF text file). This function executes the following steps: | |
| * (1) item.getAllInternetHeadersAsync() |