cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Help with Mail Send Permissions

Hi All,

 

Hope someone can assist here, I have created a PowerApp that collects feedback, and on submission sends the feedback via email.

 

Now the trick here is that I need it to send from a generic account as the feedback can be anonymous, and this is where I have hit a road block.

 

I was under the impresion that Flow would send emails from the address of the creator, which would be fine, I set up a mailbox just for this purpous, however trying various configurations and send options, I can only get the mail to send with the user who submitted the form's email address, or they recieve an error about permissions.

 

Have I just misunderstood how this works? Or is there indeed a way for anything submitted to be sent from/by the account with owns the flow regardless of the user who triggers it?

 

Thanks,

 

M

4 REPLIES 4
Highlighted
Community Support
Community Support

Re: Help with Mail Send Permissions

Hi @MMaver,

 

How is the flow created? Could you share a screenshot of the flow?

I assume that the flow is added to a PowerApps button, and the app is shared with your group members.

Please check the doc on Share resources used in your app. If you share an app that includes a flow, users who run the app will be prompted to confirm or update any connections on which the flow relies, which means that the first time shared users open the app on their side, once they confirmed the connections with their own account info, flow will send out the email based on their account but not the flow creator.

If you would like to send out the email from the flow creator’s account, please try to submit the data from PowerApps to certain database first, such as SharePoint, then use the SharePoint trigger When an item is created, thus, the flow will send out the email from the flow creator but not the user who submitted the form.

Please take a try with it on your side.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Help with Mail Send Permissions

Hi Mabel,

 

Thanks for confirming, I had set it up to write to an SQL table as a test after posting, just need to figure out how to get the mail to trigger on addition of a row now 🙂

 

Many thanks.

 

M

Highlighted
Community Support
Community Support

Re: Help with Mail Send Permissions

Hi @MMaver,

 

Are you now working with connector SQL Server?

Do you want to send out an email when a record is created in SQL table?

Please check the following blog on triggers in the SQL connector. From the blog we know that SQL triggers don’t work for on-premises SQL Server:

https://flow.microsoft.com/en-us/blog/introducing-triggers-in-the-sql-connector/

If you are working with on-premises SQL Server, I am afraid that trigger the flow to send an email when a record is created in a table.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Help with Mail Send Permissions

Hi Mabel, Thanks, I did find out the hard way that it wont work with On-Prem SQL, so I will take a look into using SharePoint online instead, as it looks like it should do what I need 🙂 Many thanks. M

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (10,052)