Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending mail if Outlook Express is not default MAPI clie
Message
From
03/04/1999 02:16:13
Raul Davila
Davila Programming Services
Toa Alta, Puerto Rico
 
 
To
02/04/1999 10:44:15
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00204649
Message ID:
00204898
Views:
15
>I use Windows 98 with Outlook Express and Microsoft Exchange.
>
>In OE Tools/Options "Make Outlook Express my default Simple MAPI client" is not selected because I want to send faxes with Exchange from Word.
>
>I try to initialize OE MAPI session using the following program:
>
>oleMAPISession = createobject( "MSMAPI.MAPISession.1" )
>if isnull( oleMAPISession )
> return
> endif
>
>with oleMAPISession
> .UserName = 'User'
> .Password = ''
> .Signon()
>
>This produces an message Incorrect profile and produces Exchange profile dialog and fails. If OE is default MAPI client, this works.
>How I can send e-mail with OE if it is not default mapi client?

Must you use OE to send the email?
If not you can MS Winsock control and send the email directly to mail server.
R. Davila
DBA / Network Administrator
Administracion de Fomento Comercial
Gobierno de Puerto Rico

Still waiting for FoxPro for LINUX
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform