My email server delivers email to gmail.com using port 25. If you are using an email client with gmail (like outlook or thunderbird), that is the port (edit: port 465) you would use to send email to outside addresses.
@fewi: that is true if the destination address is not local.
ADD: try this address for gmail email server. It worked for me. 74.125.47.27 @tomwaterloo: You should have a test email from me (my router using “/tool e-mail” actually) in your inbox if my log is correct.
Leave off the username and password, change the from to something that isn’t @gmail.com - as Tim points out at that point you should be able to send to @gmail.com addresses (but not to other domains).
Good to hear it works. A couple (edit: ok, a few) things to insure your email gets through if you use a service that filters spam:
Use a valid ‘from’ address. Most email servers will trash anything with a malformed ‘from’ address.
Put the ‘from’ address in your address book or friends list.
Don’t send a lot of emails in a row. Some email servers will delay accepting the email from the same address (edit: and to the same address) too many times in a row.
ADD: My email server is stricter than this. It is set to reject any email if it cannot resolve the domain of the sender.
and trying to send emails to my other personal account with this line
[admin@MKTStation] > tool e-mail send to=andres_camino@hotmail.com subject=test bod
y="this is a test"
also to other accounts but still no luck…i’m pretty sure the router has internet access and can reach the ip address of the gmail smtp server…can you give some guidance of how to set this up in the right way…i’ve also waited for an hour to receive mails, also looked into the spam folder…but nothing happens, can you give some guidance?
I’ve not had very good luck with the gmail server unless you are sending the email to a gmail address. Then I use port 25. I posted a response to your other thread. Take a look at the wiki about setup. like the log setting. http://wiki.mikrotik.com/wiki/Email_setup/troubleshooting
If you use gmail (it is secure on port 465), you need to use this:
/tool e-mail send to=yourname@hotmail.com subject=“test” body=“test” tls=yes
Requires V4.X
When I got this working the messages were sent to spam. Check your spam box at gmail. IF the message is there, set up a contact with the return address of the message.