Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to avoid the 'Choose Profile' while using MAPI ?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00220180
Message ID:
00220193
Views:
31
>Hello everybody,
> I have to use MAPI to send e-mail and I keep getting a window that
>pops up asking me to choose the "Profile", how can I avoid that?

Hi Luis.

Are you using the MAPISession and MAPIMessage controls? If so, you can control this behavior through properties of the MAPISession control. If you don't want a dialog to pop up, set the LogonUI property false. However, if you don't prompt for logon, you either must already have a MAPI session established, or set the UserName and Password properties of the control.

If you are using CDO instead of the MAPI controls, let me know.

Dan
Daniel Lauer
The Country Sampler Store
danl@sampler.com
Previous
Reply
Map
View

Click here to load this message in the networking platform