I am using Mikrtoik 5.26 at various branches, and have configured gmail account which sends me mikrotik backup and other alerts daily. It was working fine from past few months BUT from 23rd July, it have stopped sending me emails, and seeing errors in logs like
error sending e-mail : invalid FROM address
My email settings are as follows …
/tool e-mail
set address=173.194.66.108 from=mygmailid@gmail.com password=mygmailpassword port=587 starttls=yes user=mygmailid
I am using following command for test sending email
I can’t explain why this command fails in v5, but I can say for sure that it works in v6.17.
So logically if you want it to work, upgrade is needed. Upgrading is free and will bring other benefits, including technical support.
I’m using the same setup since ROS 5.25 (just updated to every leter version)
By the way, I have different IP for Gmail, don’t remember where i get it.
/tool e-mail
set address=173.194.77.108 from=RB@MT password=pass \
port=587 start-tls=yes user=user@gmail.com
I have tried every one suggestions , but no results, I still get INVALID FROM ADDRESS. It seems its picking subject as a from address, strange. If I change subject, it gives this address as invalid from address.
Ok this is to confirm that after upgrade to 6.17, the problem is solved now
However I am still interested if email can be send using gmail via 5.26 as i still have many rb that i cannot upgrade at a moment.
Hi. I have the same problem, version 5.26. I have one account gmail with two-step verification and code for only application.
Until two days ago it’s run all but from yesterday stop with error invalid FROM address.
I’ve tried all the settings you suggested, but the result is negative.
If I upgrade at version 6.17, I have to configure everything again?
Thanks.
I have tested it that with 6.x , it send email on regular basis twice a day 9actually RB backup)
and today I tested with same old settings in 5.x , its sending email perfectly. maybe some issue for few days only ? now i m getting all 5.x rb’s backup via mail using Gmail.