Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cant get MAPI to work, going to bed! zzzzzz
Message
From
05/06/1999 09:54:32
 
 
To
05/06/1999 02:34:48
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00226783
Message ID:
00226826
Views:
28
Hi Tony ---

There are several MAPI and Outlook example classes and programs here on the UT to download frokm the files section. If your mail client is Outlook, I can wholeheartedly recommend Nigel Coate's classlib. Now get some sleep!

>Been trying to send a simple message all night using mapi active x. I can receive messages all day, but sending is a problem. Trying to send e-mail. Here is my code:
>
>thisform.osession.password=""
>thisform.osession.username=""
>thisform.osession.newsession=.f.
>ThisForm.osession.signon()
>if ThisForm.osession.sessionid<1
> messagebox("session did not initiate")
> return .f.
>endif
>ThisForm.omessage.sessionid=ThisForm.osession.sessionid
>thisform.omessage.compose()
>ThisForm.omessage.MsgNoteText = "COMSCHED UPDATE"
>ThisForm.omessage.MsgSubject = "COMSCHED UPDATE FROM " + THISFORM.CMACHINEID
>ThisForm.omessage.recipaddress="daltin@prodigy.net"
>ThisForm.omessage.Send(0)
>
>I am getting an unspecified error, which is a fun one to try to figger out! Any help would be appreciated!
>
>Nite Nite.
>zzzzzzzzzzzz
>tc
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform