Hello,
How to use a variable if you used a ForAll ?
Because the error says we can use it because we have ForAll
ForAll(
EmailCollection;
IfError(
Set(yesbeensent;false);;
// Iterate through each group and send emails
SMTP.SendEmailV3({To: "demo@demo.com"; Subject:"test";
Body: "<!--Header-->
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns:v='urn:schemas-microsoft-com:vml'>
<head>
<meta http-equiv='content-type' content='text/html;charset=UTF-8'>
</head>
<body bgcolor='#eeeded'>
</html>"
;IsHTML: true}
);Notify("E-mail" & " did not send.");Set(yesbeensent;true)
)
)
I like to use the yesbeensent as a check-up to run some code after it
Thanks