add action to send e-mail when something wrong

**dear allll


how r U

I want to add an action in mikrotik server that send E-mail to me

when the server reboot with out a proper reboot or when some one try to login by win box ( wrong user or pass) or try to login by any available serves

the server automatically send an E-mail to me

can that be done ???


i have 4.6V

thanx A lot for helping me



**

http://wiki.mikrotik.com/wiki/Scripting-examples#Detect_new_log_entry

**dear thanx 4 answer me

i tried this befor and i did it

this what i get




how can i set the email server configuration**



/tool e-mail set server=