Clarity

  • 1.  GEL Error..

    Posted Oct 12, 2010 07:08 AM
    Hi,  I found interesting error while working with Jelly:email. I am using following gel script to send mail.  

     This is test mail....  I am able to send the mail to "sachin.ghorpade@xyz.com" or to any other person with xyz.com domain (i.e. able to send mail within company). But if i use same script (without any change..) to send mail to any domain other than "xyz.com" (like gmail, yahoo,, capgemini.com etc.) then i get the following error...    BPM-0704: An error occurred while executing custom script: org.apache.commons.jelly.JellyTagException: null:8:129: Invalid Addresses at org.apache.commons.jelly.tags.email.EmailTag.doTag(EmailTag.java:268) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at com.niku.union.gel.tags.ScriptTag.doTag(ScriptTag.java:20) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at com.niku.union.gel.GELScript.run(GELScript.java:80) at com.niku.union.gel.GELController.invoke(GELController.java:20) at com.niku.bpm.services.ExecuteCustomAction.run(ExecuteCustomAction.java:183) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727) at java.lang.Thread.run(Thread.java:595) Caused by: javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for suchin.ghorpade@gmail.com at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584) at javax.mail.Transport.send0(Transport.java:169) at javax.mail.Transport.send(Transport.java:98) at org.apache.commons.jelly.tags.email.EmailTag.doTag(EmailTag.java:265) ... 10 more Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for suchin.ghorpade@gmail.com at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047) ... 14 more Root cause javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for suchin.ghorpade@gmail.com at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584) at javax.mail.Transport.send0(Transport.java:169) at javax.mail.Transport.send(Transport.java:98) at org.apache.commons.jelly.tags.email.EmailTag.doTag(EmailTag.java:265) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186) at com.niku.union.gel.tags.ScriptTag.doTag(ScriptTag.java:20) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247) at com.niku.union.gel.GELScript.run(GELScript.java:80) at com.niku.union.gel.GELController.invoke(GELController.java:20) at com.niku.bpm.services.ExecuteCustomAction.run(ExecuteCustomAction.java:183) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:727) at java.lang.Thread.run(Thread.java:595) Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for suchin.ghorpade@gmail.com at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047) ... 14 more  Has anybody experienced this error before?  Is this the way how jelly:email works or my SMTP server is blocking those domains?  Any help would be great!  Thanks in Advance!    Sachin


  • 2.  Re: GEL Error..

    Posted Oct 12, 2010 07:08 AM
    Hi Sachin,           Why you are using jemail:email instead of gel:email? if  you want to include CC tag, then only use to jemail:email tag, otherwise just use to gel:email tag.  1) Please try to ping/telnet the SMTP server from Clarity Application server. if you are able to ping / telnet, then there is no issue, to send the email thro gel                                   (or)Just configure the mail from mail client in the application server and send to test mail. if you doesn''t received mail, you have to check with your network team.  ThanksSenthil


  • 3.  Re: GEL Error..

    Posted Oct 12, 2010 07:08 AM
    Hi Senthil,  Thanks for quick reply!  Yes we want CC attribute in mail. But even if i add CC then also mails are not going to any domain other than my company domain.  Mails are going to company domain like sachin.ghorpade@xyz.com but with same script mails are not going to gmail, yahoo or capgemini.com domains...  Sachin


  • 4.  Re: GEL Error..

    Posted Oct 12, 2010 07:08 AM
    That is something in your mail system that is refusing to send the mails, its not a jelly problem per se.  I suggest contacting your mail admins.  regards  Mark