Error sending e-mail: invalid TO address

Hi,

I am trying to send my Backup file using “/tool e-mail” options, but it is giving me error.

Error is

“Error sending e-mail: invalid TO address”

I am using following command

/tool e-mail send to=“cool_mudasir@hotmail.com” subject"Testing Mail" body=“This is
a Test Mail From Mikrotik ROS” server[:resolve my.smtp.com] from=“coolmudasir@gmail.com” file=“CrystalNet.backup”

I dont know why this error is coming…can anyone please help me out in this…
The smtp server is provided by my ISP, which works fine, just not working with MK.

it looks like it may be an issue with authentication to the smtp server. to my knowledge, MT OS (as well as dude and other software that MT writes) does not have the ability to use mailservers that have authentication. for our dude, we had to create a mail server without authentication and then locked it down to the private ip of the dude machine. Havent found any other way around it.

Hi,

Dear i am using this SMTP server on other machine, and it does not require any authentication. So there must be something else worng wtih MT.

try other kinds of email addresses


Hello fren,

yup we are remember will give you simple idea...... Backup and SMTP update......
yes, ofcourse your execute is failed, try to SET first server name for.
i had success since 18 months ago with this Update SMTP & Backup scripts until now and we have schedule every 12 hours will send of our backup scripts and SMTP updates Cetralized AAA. and everytime we received and monitor for IP address randomly from main ISP.

good luck....:wink:
again Thanks to Mikrotik & Teams

Hasbullah.com



Hi,

Thanks for the reply. I dont understand that script completely.

Dear Normis, when you say try other kind of e-mail address, i have tried gmail.com, hotmail.com, yahoo.com, live.com. Same error on all e-mail address.

I only want a simple way to mail my backup file created on alternate days to my mail address which is cool_mudasir@hotmail.com.

Hi mudasir, i’m also get same problem with my x86 with ROS ver.4.9, i think it’s some bug in this version. any idea gan??

fiuh… finally i’ve get a solved of this problem.

the key is:

[wignyo@Felix-Net] > tool e-mail print 
    server: 74.125.155.109:25
      from: "<andrisuwignyo>"
  username: "my.gmail.account@gmail.com"
  password: "my.gmail.password"

and taraaaa.. this successfully running email sending from my x86 box

Who knows IP-address from Hotmail smtp-server and ports? for tools-email

I would like to know if the email tool work well.

I am trying to send a mail using the yahoo mail server and I cannot do it.

Has anybody gotten success using that tool?

Thanks for your answers.

The email tool works perfect, but you must now the IP-address from the mail server and the port.
I use a pop3 server and this works perfect.
http://www.wirelessinfo.be/index.php/mikrotik/pages/email
Look to my website, sorry but no englisch but look to the printscreens a made

I was able to solve the problem.

I activated the firewall log and realized that the mikrotik address was on a spam list.

I followed the instructions of the site that was listed ip and removed from the list.

After a few minutes everything worked perfectly.