
Announcements
So, I have finally got my stations in an array variable, and now I want to loop through and print the station names in the body of the email step. In the attached photo you can see the part of the email body I am trying to loop through things. I have not done this before so here is what I am trying
Station Names is the variable that hold the station names, and of course stationName being what should be printing the station names. am I headed in the right direction?
Hi @Bacon1 , Most modern email clients will not allow code execution in the body of an email because of security ( prevents malware from being executed). Another approach is to dynamically expand (or loop through) the list of station names in either power apps or power automate, generate the html, then send the email. This way the email client will only receive static html. The approach will depend on which tool you are using. Are you wanting user Power Apps or Power Automate? It is not clear from your original email.
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers!
Rick Hurt