here is the script
:local text
:set text [/ip firewall filter {:foreach i in=[find] do={:put ("src-address=".[get $i src-address]." dst-address=".[get $i dst-address]." bytes=".[get $i bytes]);}} ]
:log info "testing - $text"
/tool e-mail send server="192.168.1.134" from="noreply@domain.com" to="me@domain.com" subject="report" body="report -
$text
Regards,
Akram
it only give me the last line in the log and also in the email , is there a way to fix my script to make it all the data list? thanks everyone