Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending Email with MAPI
Message
 
 
To
08/06/2001 10:03:01
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00516883
Message ID:
00517194
Views:
20
Tim,

You might check the example on my website and Nigels' class here in the files library.

> 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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform