Re: Sending mail to many users

Sasa Bojanic <[email protected]> Tue, 30 Oct 2007 11:34:24 +0100
Newsgroups gmane.comp.java.enhydra.shark
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1193740694-10408-6
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Hi,

if you are using Shark 2.0-1, you should use ',' instead of ';' to=20
specify that mail should be send to the multiple recipients.
We previously used ';' but we changed this for the version 2.0-1.

 From your stack trace, I see that you probably extended our=20
DefaultMailMessageHandler, but didn't change the code responsible for=20
parsing input parameters...

Regards,
Sasa.

Antonio Carvalho wrote:
> Hello,
>
> I'm trying to use the mail tool agent to send na email to a list of user'=
s but i'm getting the following error:
>
>    javax.mail.internet.AddressException: Illegal semicolon, not in group =
in string ``[email protected];[email protected]' at position 16
> 	at javax.mail.internet.InternetAddress.parse(InternetAddress.java:754)
> 	at javax.mail.internet.InternetAddress.parse(InternetAddress.java:529)
> 	at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:65)
> 	at com.i2s.workflow.agents.mail.I2SMailMessageHandler.sendMail(I2SMailMe=
ssageHandler.java:71)
> 	at org.enhydra.shark.toolagent.MailToolAgent.invokeApplication(MailToolA=
gent.java:62)
> 	at org.enhydra.shark.ToolAgentManagerImpl$ToolRunner.invokeApplication(T=
oolAgentManagerImpl.java:194)
> 	at org.enhydra.shark.ToolAgentManagerImpl$ToolRunner.run(ToolAgentManage=
rImpl.java:73)
> 	at org.enhydra.shark.ToolAgentManagerImpl.executeActivity(ToolAgentManag=
erImpl.java:43)
> 	at org.enhydra.shark.WfActivityImpl.runTool(WfActivityImpl.java:1240)
> 	at org.enhydra.shark.WfActivityImpl.startActivity(WfActivityImpl.java:11=
83)
> 	at org.enhydra.shark.WfActivityImpl.activate(WfActivityImpl.java:1133)=
=20
>
> Can anyone help me?
>
> Ant=F3nio Carvalho
>
>=20=20=20
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [email protected] maili=
ng list.
> To unsubscribe: mailto:[email protected]
> For general help: mailto:[email protected]?subject=3Dhelp
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>=20=20=20



------------=_1193740694-10408-6
Content-Type: text/plain; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: 8bit


--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

------------=_1193740694-10408-6--