ca.portal.admin

GEL Error..

Discussion created by ca.portal.admin on Oct 12, 2010
Latest reply on Oct 12, 2010 by mark
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

Outcomes