ALERT! The community will be read-only starting on April 19, 8am Pacific as the migration begins. Read more for important details.
ALERT! The community will be read-only starting on April 19, 8am Pacific as the migration begins.Read more for important details.
Absent Member.
Absent Member.
1636 views

Not getting correct email address from address boox

We are testing GroupWise 8.02 HP2 and noticed something odd in our lab. The user's e-mail address is testuser@galnx.local in groupwise, but when we run the following code in Soap that has worked on GroupWise 8.01 and GroupWise 8.02(no Hot patches) it is returning testuser.qalnxpo3b.qalnxdom3@qalnx.local as the email address. Not sure what changed, we are trying to get the Primary e-mail address, which should be testuser@qalnx.local.

Thanks,

Will

var gur = new getItemsRequest { container = "GroupWiseSystemAddressBook@52", count = -1 };

var request = gw.getItemsRequest(l.session, Properties.Settings.Default.SoapLoggingOn, if (request.status.code == 0)
{
var contacts = request.items.Cast<Contact>().ToList();
if (filterString == "Name")
{
contacts = beginsWith
? contacts.Where(x => x.name.StartsWith(filterValue)).ToList()
: contacts.Where(x => x.name.Contains(filterValue)).ToList();
}
else
{
contacts = beginsWith
? contacts.Where(x => x.emailList.primary.StartsWith(filterValue)).
ToList
()
: contacts.Where(x => x.emailList.primary.Contains(filterValue)).
ToList();
}
foreach (var contact in contacts)
{
LogInfo("Primary: " + contact.emailList.primary);
LogInfo("Primary: " + contact.emailList.email.Count());
LogInfo("1st: " + contact.emailList.email[0].ToString());
}gur);
Labels (1)
Tags (3)
0 Likes
6 Replies
Absent Member.
Absent Member.

What is the preferred address format in the system, domain and post office
levels?
Preston

>>> On Tuesday, February 15, 2011 at 11:36 AM,

washley8<washley8@no-mx.forums.novell.com> wrote:

> We are testing GroupWise 8.02 HP2 and noticed something odd in our lab.
> The user's e‑mail address is testuser@galnx.local in groupwise, but

when
> we run the following code in Soap that has worked on GroupWise 8.01 and
> GroupWise 8.02(no Hot patches) it is returning
> testuser.qalnxpo3b.qalnxdom3@qalnx.local as the email address. Not sure
> what changed, we are trying to get the Primary e‑mail address, which
> should be testuser@qalnx.local.
>
> Thanks,
>
> Will
>
> var gur = new getItemsRequest { container =
> "GroupWiseSystemAddressBook@52", count = ‑1 };
>
> var request = gw.getItemsRequest(l.session,
> Properties.Settings.Default.SoapLoggingOn, if (request.status.code ==
> 0)
> {
> var contacts =
> request.items.Cast<Contact>().ToList();
> if (filterString == "Name")
> {
> contacts = beginsWith
> ? contacts.Where(x
> => x.name.StartsWith(filterValue)).ToList()
> : contacts.Where(x
> => x.name.Contains(filterValue)).ToList();
> }
> else
> {
> contacts = beginsWith
> ? contacts.Where(x
> => x.emailList.primary.StartsWith(filterValue)).
> ToList
> ()
> : contacts.Where(x
> => x.emailList.primary.Contains(filterValue)).
> ToList();
> }
> foreach (var contact in contacts)
> {
> LogInfo("Primary: " +
> contact.emailList.primary);
> LogInfo("Primary: " +
> contact.emailList.email.Count());
> LogInfo("1st: " +
> contact.emailList.email[0].ToString());
> }gur);

0 Likes
Absent Member.
Absent Member.

Preferred is user@qalnx.local
0 Likes
Absent Member.
Absent Member.

Sorry, I'm not sure how to help you.
You could try shutting down the agents and
rebuilding the databases.

Preston

>>> On Tuesday, February 15, 2011 at 3:06 PM,

washley8<washley8@no-mx.forums.novell.com> wrote:

> Preferred is user@qalnx.local

0 Likes
Absent Member.
Absent Member.

Preston Stephenson;2076139 wrote:
Sorry, I'm not sure how to help you.
You could try shutting down the agents and
rebuilding the databases.

Preston

>>> On Tuesday, February 15, 2011 at 3:06 PM,

washley8<washley8@no-mx.forums.novell.com> wrote:

> Preferred is user@qalnx.local


Preston,

We need to escalate this issue. We have the same issue with Blackberry using Soap. It is a big deal for us, as we ask the user to confirm the e-mail address. We check that E-mail address with what we are getting from GroupWise Soap. A user will not know that long e-mail address. They only know their regular internet address. Something in HP2 for GroupWise 8.02 is causing this issue.

Thanks,

Will
0 Likes
Absent Member.
Absent Member.

If rebuilding the databases does not help,
I would need the databases for the system.
Hopefully you have a small test system that
you can send me.

Thanks.
Preston

>>> On Wednesday, March 16, 2011 at 7:36 AM,

washley8<washley8@no-mx.forums.novell.com> wrote:

> Preston Stephenson;2076139 Wrote:
>> Sorry, I'm not sure how to help you.
>> You could try shutting down the agents and
>> rebuilding the databases.
>>
>> Preston
>>
>> >>> On Tuesday, February 15, 2011 at 3:06 PM,

>> washley8<washley8@no‑mx.forums.novell.com> wrote:
>>
>> > Preferred is user@qalnx.local

>
> Preston,
>
> We need to escalate this issue. We have the same issue with Blackberry
> using Soap. It is a big deal for us, as we ask the user to confirm the
> e‑mail address. We check that E‑mail address with what we are

getting
> from GroupWise Soap. A user will not know that long e‑mail address.
> They only know their regular internet address. Something in HP2 for
> GroupWise 8.02 is causing this issue.
>
> Thanks,
>
> Will

0 Likes
Absent Member.
Absent Member.

I found the problem.
The fix will go in the next service pack of GroupWise.
If you have the problem, you can pass "default" as the
view for getItemsRequest when getting system address
book entries.

Preston

>>> On Wednesday, March 16, 2011 at 9:59 AM, Preston

Stephenson<PStephenson@gw.novell.com> wrote:
> If rebuilding the databases does not help,
> I would need the databases for the system.
> Hopefully you have a small test system that
> you can send me.
>
> Thanks.
> Preston
>
>>>> On Wednesday, March 16, 2011 at 7:36 AM,

> washley8<washley8@no‑mx.forums.novell.com> wrote:
>
>> Preston Stephenson;2076139 Wrote:
>>> Sorry, I'm not sure how to help you.
>>> You could try shutting down the agents and
>>> rebuilding the databases.
>>>
>>> Preston
>>>
>>> >>> On Tuesday, February 15, 2011 at 3:06 PM,
>>> washley8<washley8@no‑mx.forums.novell.com> wrote:
>>>
>>> > Preferred is user@qalnx.local

>>
>> Preston,
>>
>> We need to escalate this issue. We have the same issue with Blackberry
>> using Soap. It is a big deal for us, as we ask the user to confirm the
>> e‑mail address. We check that E‑mail address with what we are

> getting
>> from GroupWise Soap. A user will not know that long e‑mail address.
>> They only know their regular internet address. Something in HP2 for
>> GroupWise 8.02 is causing this issue.
>>
>> Thanks,
>>
>> Will

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.