Anonymous_User Absent Member.
Absent Member.
202 views

Recipients data in a CustomerVar


Hi,

We are collecting logs from mail service and I am interesting for
recipients data. We are using Sentinel 7.0.3.
There are differents type of CustomerVar like String or IP or Integer
but not Array to store data. So, I have inserted the recipients data
into a String separeted by ','.

I would like perform a search for one particular recipient. Here an
example :

cv38 = "test@company.com,test2@company.com,test3@company.com"

To search "test@company.com", I can do a search like :
cv38:"test@company.com*".
To search "test2@company.com", I can not do a search like :
cv38:"*test2@company.com*" ; The wildcard at the begginning is not
allowed.

From the documentation, there is no CustomerVar with a type Array. And
the CustomerVar are not "tokenized".

Is-there a way to activate wildcard at the begginning to perform the
search ? I understand if we activate that kind of option, the server can
be slow...
Otherwise, how to do it without impacting the server's performance?
Is there a better way to perform that ?

Thanks in advance for your help.

Bertrand


--
bgirault
------------------------------------------------------------------------
bgirault's Profile: https://forums.netiq.com/member.php?userid=2170
View this thread: https://forums.netiq.com/showthread.php?t=47540

0 Likes
5 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Recipients data in a CustomerVar

First, no I don't know.

Silly guesses: Have you tried space-delimited e-mail addresses? Have you
tried throwing the string of space-delimited addresses into the Message
field and then searching on the e-mail addresses on their own?

Good luck.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Recipients data in a CustomerVar


I did not try to delimiter the recipients by a space character.
I thought the same thing about the variable 'msg', but I would like to
use a dedicated variable in order to generate report. It's a silly way
but it works with the variable 'msg'.


--
bgirault
------------------------------------------------------------------------
bgirault's Profile: https://forums.netiq.com/member.php?userid=2170
View this thread: https://forums.netiq.com/showthread.php?t=47540

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Recipients data in a CustomerVar


Hello,

when there is a long list of recipients, the msg variable is truncated.
And, the silly solution does not work in that case.

Is there an other way to do that ?

Thank in advance.

Bertrand


--
bgirault
------------------------------------------------------------------------
bgirault's Profile: https://forums.netiq.com/member.php?userid=2170
View this thread: https://forums.netiq.com/showthread.php?t=47540

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Recipients data in a CustomerVar

Try the extended-information field, perhaps. There is, I believe, an
add2EI function or something like that... the call would look something like:

e.add2EI('recipients', emailList);

Good luck.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Recipients data in a CustomerVar

Hi Bertrand,
the fields cv30 to cv34 can hold up to 4000 chars (see
http://www.novell.com/developer/plugin-sdk/event_schema.html) . You might
want to put your data in there.

Norbert

>>> On 16.04.2013 at 18:34, bgirault<bgirault@no-mx.forums.netiq.com>

wrote:

> Hello,
>
> when there is a long list of recipients, the msg variable is truncated.
> And, the silly solution does not work in that case.
>
> Is there an other way to do that ?
>
> Thank in advance.
>
> Bertrand


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.