Showing results for 
Search instead for 
Did you mean: 

Transport.send in script not sending mails - method invocation error

Former Member
0 Kudos

Hi Experts,

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.



Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Mayank,

This looks like a configuration issue at basis side. Sourcing server doesn't appear to be able to connect to the mail server you are using.

May I ask what is the reason for not using the built-in custom email functionality?