I Want to Set SMTP Timeout Int Value

For Exemple
1 -

IF
data.UseProxy = false;
SET DEFAULT TIMEOUT
END

IF
data.UseProxy = true;
SET CUSTOMIZED TIMEOUT
END

POC:
image

2 - AND MY QUESTION TO @Ruri ::
After Timeouted Connextion, Rurilib.proxy What Do ? do you take it into consideration ?

POC:
[[SAFE MODE] Exception caught and saved to data.ERROR: System.TimeoutException: The operation has timed out.:]

I wouldn’t use the SAFE option in this case, I would rather use TRY and CATCH so you can specify some code to run if there is an exception in that block, e.g.

TRY
// connection block here
CATCH
// fallback code
END
1 Like

Thank You Ruri For Your Feedback :slight_smile: