Sending Email

Hi all again,

I am using the netwatch script to email when a link goes down. The script works sending the information to a log file but not when trying to email.

I have access to the SMTP server (auth.oneandone.co.uk) as i can ping this from the mikrotik, can telnet via port 25 and can log into the server.

I have used the following command to send an email from the router:

/tool e-mail send to=“xxx@xxxxxxxxx.com” subject=“test” server=212.227.15.179

I have tried the above command with and without “”

No messages appear and the email is not received.

Could anyone shed any light on the subject

cheers in advanced

I will presume since you needed the server entry, you will probably need the “from” also.
/tool e-mail send to=“xxx@xxxxxxxxx.com” from=“youremail@yourdomain.com” subject=“test” server=212.227.15.179
I set server and from in
/tool e-mail