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);
  • 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);

  • 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);

  • 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);

  • 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 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
  • 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

  • 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