Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending Email with MAPI
Message
From
08/06/2001 10:03:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Sending Email with MAPI
Miscellaneous
Thread ID:
00516883
Message ID:
00516883
Views:
45
Hello,
I am using the MSMAPI Session and Message objects as OleControls on a form.
So I launch the executable, and click a button to bring up my email form, which uses the above controls. I fill in some info and press send. The email message fires away just fine, and the form closes. At this point I am still in the same executable on the main form. So I click the button to go back to the same email form. I fill in the info, click send and I get an error message: "An Unspecified Failure has Occurred." And no mail is sent.

If I exit the executable, and relaunch it, then the email will work the first time, but not any additional times.

My code is basic. In the email form I signOn, Compose, set the Recipient, Subject and Text, Send(0) and SignOff.

Any help or suggestions would be greatly appreciated.

Thanks,
Tim Trostle
Next
Reply
Map
View

Click here to load this message in the networking platform