Skip to contentBrand Logo
Tech CommunityCommunity Hubs
Products
Topics
BlogsEvents
Skills Hub
Community
RegisterSign In
  1. Microsoft Community Hub
  2. CommunitiesProducts
  3. Microsoft 365
  4. Microsoft 365 Developer Platform
Berend Engelbrecht's avatar
Berend Engelbrecht
Brass Contributor
Apr 09, 2025
Status:
New

Implement Office.context.mailbox.item.getAsFileAsync for draft messages

We have a requirement in an Office.js add-in to do the following: Automatically send a message Save the sent message The functionality was previously implemented using EWS and Office.context.mai...
Office Add-ins deployment
Office Add-ins development
Office Add-ins UX
Berend Engelbrecht's avatar
Berend Engelbrecht
Brass Contributor
Apr 11, 2025

I feel myself that API design could be more careful. It is peculiar and unexpected to a developer that function X operating on an email message can be used in the MessageReadCommandSurface but not in the MessageComposeCommandSurface. In Outlook you can save both a draft and a sent or received message in MIME format. I tried classic desktop and outlook.office.com web version.

Share this page

What's new
  • Surface Pro
  • Surface Laptop
  • Surface Laptop Studio 2
  • Copilot for organizations
  • Copilot for personal use
  • AI in Windows
  • Explore Microsoft products
  • Windows 11 apps
Microsoft Store
  • Account profile
  • Download Center
  • Microsoft Store support
  • Returns
  • Order tracking
  • Certified Refurbished
  • Microsoft Store Promise
  • Flexible Payments
Education
  • Microsoft in education
  • Devices for education
  • Microsoft Teams for Education
  • Microsoft 365 Education
  • How to buy for your school
  • Educator training and development
  • Deals for students and parents
  • AI for education
Business
  • Microsoft AI
  • Microsoft Security
  • Dynamics 365
  • Microsoft 365
  • Microsoft Power Platform
  • Microsoft Teams
  • Microsoft 365 Copilot
  • Small Business
Developer & IT
  • Azure
  • Microsoft Developer
  • Microsoft Learn
  • Support for AI marketplace apps
  • Microsoft Tech Community
  • Microsoft Marketplace
  • Marketplace Rewards
  • Visual Studio
Company
  • Careers
  • About Microsoft
  • Company news
  • Privacy at Microsoft
  • Investors
  • Diversity and inclusion
  • Accessibility
  • Sustainability
California Consumer Privacy Act (CCPA) Opt-Out IconYour Privacy Choices
  • Sitemap
  • Contact Microsoft
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Safety & eco
  • Recycling
  • About our ads
  • © Microsoft
  • Share to LinkedInShare on LinkedIn
  • Share to FacebookShare on Facebook
  • Share to XShare on X
  • Share to RedditShare on Reddit
  • Share to Blue SkyShare on Bluesky
  • Subscribe to RSSShare on RSS
  • Share to EmailShare on Email