Hi I have a workflow with an activity "send e-mail" and Im having
trouble trying sending emails to a list.
I have a list of recipients separated by ", " and Im just putting it
in TO field.
Ive make several tests with no results.

I try all this combinations:

Code:
--------------------
"test@test.com, test2@test2.com" and I just get an email in my first address.
"test@test.com; test2@test2.com" no email was sended.
"test@test.com", "test2@test2.com" no email was sended.
"test@test.com"; "test2@test2.com" no email was sended.
"test@test.com" + "test2@test2.com" no email was sended.
test@test.com, test2@test2.com no email was sended.
--------------------


Here is an sample of error I get.


Code:
--------------------
2011-12-28 21:50:44,931 INFO [STDOUT] (JMSSubscriber) 190185797 [JMSSubscriber] ERROR com.novell.soa.notification.impl.Simpl
eEmailMessageCreator - Email address [test@test.com; test2@test2.com] is invalid.
javax.mail.internet.AddressException: Illegal semicolon, not in group in string ``test@test.com; test2@test2.com'
' at position 19
at javax.mail.internet.InternetAddress.parse(Internet Address.java:780)
at javax.mail.internet.InternetAddress.parse(Internet Address.java:555)
at com.novell.soa.notification.impl.SimpleEmailMessag eCreator.getEmailAddressFromList(SimpleEmailMessag eCreator.java:
296)
at com.novell.soa.notification.impl.SimpleEmailMessag eCreator.getEmailAddress(SimpleEmailMessageCreator .java:279)
at com.novell.soa.notification.impl.SimpleEmailMessag eCreator.createMessage(SimpleEmailMessageCreator.j ava:140)
at com.novell.soa.notification.impl.MailEngine.send(M ailEngine.java:301)
at com.novell.soa.notification.impl.jms.JMSSubscriber .handleMessage(JMSSubscriber.java:210)
at com.novell.soa.notification.impl.jms.JMSSubscriber .run(JMSSubscriber.java:159)
at java.lang.Thread.run(Thread.java:662)

--------------------



Thanks in advance,
Juan


--
JuanGallarreta
------------------------------------------------------------------------
JuanGallarreta's Profile: http://forums.novell.com/member.php?userid=103129
View this thread: http://forums.novell.com/showthread.php?t=450113