Hi,
I'm building a flow attached to a form and I've got stuck trying to get a particular scenario to work and wondered if there is anything I can do about it.
Scenario:
- A user fills in a form selecting various answers including email and alternative email.
- Once they hit submit, the Power Automate flow check the answers and anyone who qualifies gets email 1 everyone who fails gets email 2.
- As part of the send email process, I have set up a variable (IsError) and used three scope boxes to imitate a try, catch, success process (the process I followed is listed below). If the email to the first address they provide works, carry on and write some data to Excel. If the email fails, try alternative email and then write to Excel. I don't bother catching errors after that as the flow should fail.
https://www.c-sharpcorner.com/article/error-handling-with-power-automate-ms-flow/
The problem:
If the email entered into email is something like "rfgerg", the flow works as expected because outlook rejects it instantly. If the email entered is "refjeawdf@wejfhbwejbwfjh.com", outlook thinks this is acceptable and attempts the email reporting a success in the process and so the flow carries on thinking everything is fine. The only notification received would be the Microsoft Outlook delivery failure email I receive shortly afterwards.
So my question is, can I actually check that the email has been sent and delivered or would the only solution be to email both addresses in the form?
Thanks,
Tom