Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP-Outlook
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00222848
Message ID:
00222931
Views:
35
On the same lines, I have this code someone posted here previously that I made a change or 2 to:
LOCAL loForm
loForm = createobject( 'form')
WITH OFORM
.addobject("Session1", "olecontrol", "MSMAPI.mapiSession")
.addobject("Message1", "olecontrol", "MSMAPI.mapiMessages")
.Session1.signon()
WITH .MESSAGE1
.sessionid = OFORM.Session1.sessionid
.compose()
.msgsubject = "Put the Subject here"
.msgnotetext = "Test goes here, you can send anything you want"
.AddressResolveUI = .T.
.RecipAddress = "DOUGLAS.OSBORNE@SASIPOS.COM"
.AttachmentName="mistakes.txt"
.AttachmentPathName="c:\dbm\"
*
*-OLE IDispatch exception code 0 from MAPIMessages:
*-Upspecified Failure has occurred..
*
.send()
ENDWITH
.Session1.signoff()
ENDWITH

I get the error as noted above the send code - what parameter setting am I missing? How do you send more than 1 attachment?
Doug
Douglas Osborne
Don't spend your life just wishing - http://www.AllGiftRegistry.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform