I can't say thanks enough MT other than I wish the changes made were better documented pertaining to the usage of the e-mail tool.
For those of you that have taken the chance to move on to 4.6 (We have on 4% of our network) you might run across more issues trying to use scripts that include the use of the e-mail tool. I have got probably 20 combined hours over the last two years trying to make these scripts work when OS versions change. Since 3.22, I have ran into multiple problems.
One key problem was to use Winbox > Tools> e-mail. Why? Because I found in some versions you have to put info in there and others you don't. Plus, there were bugs in the field entries that made it almost impossible to use. Space, no space, @ no @, etc. I could be wrong on all of this but some of you have probably had the same problems.
Guess what, Gmail, and MT 4.6 get along once again like they did with 3.22. Here is what I just found a few minutes ago.
First set the Winbox > Tools> e-mail properties to default.
Server 0.0.0.0
All other fields blank. Yes blank.
Here is the code if you want to do it from a terminal:
/tool e-mail
set from="" password="" server="0.0.0.0:0" username=""
Now open a terminal window wide enough to paste in this code/script. (you might have it open already)
Make sure you put your password, send to email address, from address is not important, your password, and user.
/tool e-mail
send body="testing" from="test@testme2.com" password="yourpass" server="74.125.45.109:587" \
subject="this is it" tls="yes" to="youraccount@gmail.com" user="youraccount@gmail.com"
In my case this works perfect for my backup script. I have my own domain with the free Google Apps, and it works with that as well.
The ability to turn on or off TLS with Gmail fixed everything. Finally!!!