cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AnttiKuisma
Helper I
Helper I

Response if email has sent or not

Hey,

I have a button in my application that sends an email. Is there any way how to get the response to my application that the email was sent successfully or not? For example, if a user gave a non-existing email address to send the email. You will receive ofc message to your email box that the email sending was failed, but is there a way to get the response back to the application?

I'm using Office365Outlook, to send the email ->
Button:
    OnSelect: Office365Outlook.SendEmailV2(User().Email, "Subject", "Testing")

1 ACCEPTED SOLUTION

Accepted Solutions

@AnttiKuisma ,

I was simply answering your main question (you cannot do it) and the Flow is not straight-forward  - a better idea with an invalid email would be to test the mail address in Power Apps

If(
   !IsMatch(YourEmailAddress,Email),
   Notify("Invalid Email Addesss",Error)
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

 

View solution in original post

4 REPLIES 4
WarrenBelz
Super User
Super User

Hi @AnttiKuisma ,

Only for an invalid email - Outlook would fail to send and you could send a response on this condition. If the email was sent from the user however , they will get an undeliverable message.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

@WarrenBelz 
Okey and how do I actually receive that response to my application?

@AnttiKuisma ,

I was simply answering your main question (you cannot do it) and the Flow is not straight-forward  - a better idea with an invalid email would be to test the mail address in Power Apps

If(
   !IsMatch(YourEmailAddress,Email),
   Notify("Invalid Email Addesss",Error)
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

 

WarrenBelz
Super User
Super User

Hi @AnttiKuisma ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,276)