Email script - Gmail

Hi everyone

I have been using the script below without any hassles for a few weeks now to send emails from my RB751’s. All of a sudden it has stopped working and cannot figure out why. Any ideas?

/tool e-mail send to=myname@mydomain from=admin@mydomain subject=“Email subject” body=“Body for the email”
server=[:resolve smtp.gmail.com] user=admin@mydomain password=emailpassword tls=yes port=587

try to use port=25

Thanks for the reply, but using port 25 also does not work.

Any other thoughts?

Enable verbose logging for email.

/system logging
add topics=e-mail,debug action=memory

Then try the send again and check the log.