Hi everyone,
I need my app to send an email to a certain address, and I’m doing this with the SmptClient extension (found here thanks to Taifun’s recommendation).
As you can see, once the app initializes it opens screen 1 and I need to check if the email has been sent correctly: if so, the app needs to store a value in a db and open screen 2, if not it needs to close and reopen screen 1.
Now, the smtp client extension works perfectly when I send the email with correct user and password (I receive the emails with all the data), but if I put on purpose the wrong password I would expect to get an error message and the app to do what is contained in the “when smptclient got error” block, but it is not happening: whether the email is sent or not, the app goes to screen 2 and doesn’t show screen 1 as if it received a successful message from the smpt client extension.
How could I solve this issue?
Hope my question is clear and thank you all for the help!
thanks @vknow360, I definitely didn’t see it.
I’m sorry but I don’t get what you mean with “Both the events are triggered if any error occurs so what’s happening with your app is likely to happen”. Do you mean that I need to change my blocks?
Thank you!