Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Getting list of addresses from MAPI

2 posts in Objects Last posting was on 2002-11-26 15:12:11.0Z
lc Posted on 2002-11-26 13:25:51.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "lc" <luiscabral@escelsa.com.br>
Subject: Getting list of addresses from MAPI
Date: Tue, 26 Nov 2002 11:25:51 -0200
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 205.173.115.1
Message-ID: <364_XTjYYGVlCHA.199@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:739
Article PK: 713314

Hi

I build a simple window to allow users send email
from a PB app using MapiSession, MapiMessage etc.

But the user, instead of writing manually the addresses,
wants to select them from the Outlook address list.

Is there a function or object that return that adress list?
I searched in Google without success...

Thanks!
Luis Cabral


De Permentier Davy Posted on 2002-11-26 15:12:11.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "De Permentier Davy" <no_spam@my.adress>
Subject: Re: Getting list of addresses from MAPI
Date: Tue, 26 Nov 2002 16:12:11 +0100
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
NNTP-Posting-Host: 193.190.121.69
Message-ID: <364_KRhZxAWlCHA.199@forums.sybase.com>
References: <364_XTjYYGVlCHA.199@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:736
Article PK: 713304

Hey,

Take a look at "MailResolveRecipient" and the other Mailxxx functions in
PbHelp.
For example : You could use MailResolveRecipient with a fake e-mail adress.
This way the user can select an e-mail adress from the outlook list.

HTH,
Davy

"lc" <luiscabral@escelsa.com.br> wrote in message
news:XTjYYGVlCHA.199@forums.sybase.com...
> Hi
>
> I build a simple window to allow users send email
> from a PB app using MapiSession, MapiMessage etc.
>
> But the user, instead of writing manually the addresses,
> wants to select them from the Outlook address list.
>
> Is there a function or object that return that adress list?
> I searched in Google without success...
>
> Thanks!
> Luis Cabral
>
>
>