We have written a simple script which should send test mail to a user maintained in the system. The script has been tested before in other systems and works fine but all of a sudden, it started throwing this error: Error in inline evaluation of script: Method Invocation Transport.send.
We have used Tranport.send(msg) to send the mail, the msg object has all the contents accurate and verified.
When we checked the system admin-logs we found error log:
Could not connect to SMTP host:connection refused.
We did a SMTP server refresh for no luck.
Is this at all related to some issues with the script or is it a configuration miss? Suggestions where people have faced similar issues will be appreciated.