Email Tool on CRS125-24G-1S

Problem with email tool.

Took the same script and put it on 2 different routers
Router 1 is CCR1009-8G-1S
Router 2 is CRS125-24G-1S

When I apply and run the script on router 1… it works
When I do the same on router 2.
10:42:53 system,e-mail,error Error sending e-mail : invalid FROM ad
dress

This is using gmail smtp.
Both routers are running 6.23

start tls in email tool

Solved