cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RussellGove
Kudo Kingpin
Kudo Kingpin

Lesson learned: Do not send email from powerapps

so I have a sharepoint form and in the OnSuccess  of the form I had Office365.SendEmail.

 

Was working great until today. Today I am getting errors becaus the SendEmail function was timing out after 90 seconds.

 

 

Lesson learned : send the emails in a flow.

1 ACCEPTED SOLUTION

Accepted Solutions
v-monli-msft
Community Support
Community Support

Hi @RussellGove

 

I just tested with Office365.SendEmail function following a submit form button, and I cannot send the email either. Below is my formula:

 

SubmitForm(EditForm1);Office365.SendEmail(DataCardValue5.Text,DataCardValue6.Text,DataCardValue7.Text)

But once I change it to:

 

 

Office365.SendEmail(DataCardValue5.Text,DataCardValue6.Text,DataCardValue7.Text);SubmitForm(EditForm1)

Then email gets send successfully.

 

 

Please have a try and if this does not solve the issue, please share your formula here.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-monli-msft
Community Support
Community Support

Hi @RussellGove

 

I just tested with Office365.SendEmail function following a submit form button, and I cannot send the email either. Below is my formula:

 

SubmitForm(EditForm1);Office365.SendEmail(DataCardValue5.Text,DataCardValue6.Text,DataCardValue7.Text)

But once I change it to:

 

 

Office365.SendEmail(DataCardValue5.Text,DataCardValue6.Text,DataCardValue7.Text);SubmitForm(EditForm1)

Then email gets send successfully.

 

 

Please have a try and if this does not solve the issue, please share your formula here.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (81,734)