cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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

@Anonymous ,

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 @Anonymous ,

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

Anonymous
Not applicable

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

@Anonymous ,

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 @Anonymous ,

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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (3,666)