AnsweredAssumed Answered

GEL Script for email gets SMTP error

Question asked by MikeNaputano on Oct 20, 2011
Latest reply on Oct 21, 2011 by MikeNaputano
Hey everyone,
I am new to Clarity and very new to GEL scripting. I am trying to send an email from a GEL script, and I saw some good posts out here that showed a basic email script. I copied and pasted the script into an action item and added in my particular parameters for the email server, addresses to send to, etc. I keep getting an error: BPM-0704: An error occurred while executing custom script: org.apache.commons.jelly.JellyTagException: null:15:21: <mail:email> Could not connect to SMTP host:, port: 25 at
The error is much longer than this, but basically I can see right away it is trying to hit my email server at port 25. I need it to go to port 443. I tried to put the port in the emailServer value, but it does not attempt that port. I cannot seem to find any documentation on how to make that setting in the GEL script. Here is what my script looks like currently:

<!-- email vars -->
<jelly:set var="emailFrom" value="" />
<jelly:set var="emailServer" value="" />

<!-- send it -->
Hello Judy!!!


We are using CA Clarity which is being hosted by CA SaaS.

Thank you in advance!