Community discussions

 
runbound
newbie
Topic Author
Posts: 30
Joined: Fri Apr 19, 2013 9:28 am

sending email after removing addresslist

Sun Oct 14, 2018 7:03 am

can someone help me on this
email is not sending whats wrong

:do {/ppp secret
:foreach ix in=[find where (comment>"0" && comment<"744")] do={
:local sNAME [get $ix name];

:do {/ip firewall address-list remove [find where comment=$sNAME]
/tool e-mail send to="xxx@yahoo.com" subject="$sNAME" body="connected" start-tls=yes} [find where comment=$sNAME]
} on-error={:log error message=("Disconnecting " . $sNAME . " Failed");}
}
} on-error={:log error message="script failed..."}

Who is online

Users browsing this forum: No registered users and 10 guests