Notifications
Announcements
I have a power app. In a gallery I read the inbox and show the subject etc. In a form I want to show the mail details from the selected mail in the gallery. How I understand this should be the right script but it isn't working.
Office365Outlook.GetEmailV2(messageId=Gallery1.Selected.internetMessageId)
Hi,
it is not necessary to compare the messageId, just place the Id like this:
Office365Outlook.GetEmailV2(Gallery1.Selected.internetMessageId)
I hope it helps 🙂
Unfortunately, it doesn't work with it either.
sorry I didn't pay attention it is a shared mailbox.
try this:
Office365Outlook.GetEmailV2( Gallery1.Selected.internetMessageId, {mailboxAddress:"SharedMail@mail.com"} // replace with your shared mailbox )
Hi victorcp, now I get an error message.
Can you share the error?
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="Off"/> </system.web></configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File --><configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web></configuration>
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268