hello_amigo1 Absent Member.
Absent Member.
247 views

E-Mail Notification. Several Recipients


Hi! How could I send a mail to several recipients (E-Mail Notification)?
What`s the sintax for TO field for multi recipients?
Thanks!


--
hello_amigo
------------------------------------------------------------------------
hello_amigo's Profile: http://forums.novell.com/member.php?userid=101672
View this thread: http://forums.novell.com/showthread.php?t=451654

Labels (1)
0 Likes
2 Replies
Knowledge Partner
Knowledge Partner

Re: E-Mail Notification. Several Recipients

On 2/1/2012 9:46 AM, hello amigo wrote:
>
> Hi! How could I send a mail to several recipients (E-Mail Notification)?
> What`s the sintax for TO field for multi recipients?
> Thanks!


Steve recently answered this one, and I have to admit, I was surprised
at the formatting!).



A. If you want to map in a list in the TO field of the Email Activity,
you only use one (1) set of single quotes. Meaning to start and end the
list and each entry is separated by two (2) pipe signs ||

For example:

'user1@test.com||user2@test.com||user3@test.com||user4@test.com'


B. The approach is to utilize code similar in the TO field of the Email
Activity

function getNotificationArrayList(){
var notifyArrayList = new java.util.ArrayList();
notifyArrayList.add(IDVault.get('CN=ablake,OU=users,O=data' , 'user',
'Email'));

notifyArrayList.add(IDVault.get('CN=achung,OU=users,O=data','user','Email'));
return notifyArrayList;
};
getNotifyArrayList();
0 Likes
hello_amigo1 Absent Member.
Absent Member.

Re: E-Mail Notification. Several Recipients


Thanks!!! I picked up the B approach. It works.


--
hello_amigo
------------------------------------------------------------------------
hello_amigo's Profile: http://forums.novell.com/member.php?userid=101672
View this thread: http://forums.novell.com/showthread.php?t=451654

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.