Send email with all address in an address list

Full of error…

I fixed it for you:

:log info message=("Start Sending Report");
:local ipList value="";
:foreach tmpAddress in=[/ip firewall address-list find where dynamic=yes and list=blacklist-dyn] do={
 :set $ipList value=([/ip firewall address-list get $tmpAddress value-name=address]."\r\n".$ipList);
};
/tool e-mail send from="script@routerboard.local" to="blank@blank.com" subject=("List report of ".[/system clock get date]." ".[/system clock get time]) body=("List of auto-blacklisted host:\r\n".$ipList);
:log info message=("Sending Report End");