How to send a message from the router (i.e. by script) to an external e-mail address?
I´ve been reading the ROS, the Wiki and the Forum and contacted my mail server provider. I have been given several advices, tried all the options, changed TO address, changed FROM address, changed server address, changed format of server address (name or IP) but nothing helps!
I made a script and I can run it (at least, the counter says it had run, it counts up). But torch doesn’t see any traffice created. (port 25) The smtp server also doesn’t recieve anything! I tried two different Mail providers but no luck on either of them!
So, outside a script, how to have the router send an e-mail? Just from the terminal screen?
How can I check if a script is running properly and performing the tasks it needs to do. The only sign I have is the counter running up if I manually run the script. But the result is zero!
Here are some of the scripts I tried:
1 name=“Home_ADSL_Down_Mail” owner=“adminrudy”
policy=ftp,reboot,read,write,policy,test,winbox,password
last-started=sep/05/2007 03:22:44 run-count=4
source=/tool e-mail send from=“PC-Gateway@fastmail.fm”
server=“66.111.4.52:587” body=“The Home ADSL is down!” subject=“Home
ADSL Link down!” to=“marusol@fastmail.fm”
2 name=“Test script” owner=“adminrudy”
policy=ftp,reboot,read,write,policy,test,winbox,password,sniff
last-started=sep/07/2007 01:51:34 run-count=33
source={/tool e-mail send from=“marusol@fastmail.fm” server=“66.111.4.72”
body=“The Home ADSL is down!” subject=“Home ADSL Link down!”
to=“marucom_net@fastmail.fm”}
6 name=“testscript2” owner=“adminrudy”
policy=ftp,reboot,read,write,policy,test,winbox,password,sniff
last-started=sep/07/2007 01:34:34 run-count=6
source={/tool e-mail send from=“marusol@fastmail.fm”
server=“smtp.gmail.com” body=“The Home ADSL is down!” subject=“Home
ADSL Link down!” to=“marucom.net@gmail.com”}