Closed SindhuChenna closed 2 days ago
Hi @SindhuChenna,
Thanks for reporting this. Could you please share which version of Outlook you're using (web, Mac, Windows Classic, New Outlook for Windows)? Also, just to clarify, are you using the GitHub hosted version (manifest.xml), or are you running the web server on localhost (manifest-localhost.xml?
Hi, New outlook for windows. I have just copied manifest.xml and html files.
Thank you for the reply. When you say you've "copied manifest,xml and html files", could you please elaborate? If you're building the project and running it locally, you'll need to copy everything from the repo. If you're sideloading the GitHub hosted version, you should only need the manifest.
Also, I reran the sample and could not reproduce those errors.
After adding localhost.crt and localhost.key files in the folder getting the below error
Error: Could not find certificate localhost.crt
@exextoc, could you please take a look?
Hi @SindhuChenna, to run the sample from localhost, you need to put the localhost.key and .crt files in the Office-Add-in-samples\Samples\hello-world\outlook-hello-world
folder. Then you can run http-server -S -C localhost.crt -K localhost.key --cors . -p 3000
from that same folder. Hope this helps!
This issue has been automatically marked as stale because it is marked as needing author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your interest in Office Add-ins!
This issue has been closed due to inactivity. Please comment if you still need assistance and we'll re-open the issue.
https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/hello-world/outlook-hello-world
Describe the bug
On click of button getting error Uncaught TypeError: Office.context.mailbox.item.body.setAsync is not a function at HTMLButtonElement.sayHello
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Display the required message in the email body
Screenshots
Environment
Additional context
Add any other context about the problem here.