Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send Email problem
Message
 
 
To
23/02/2000 21:20:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00335853
Message ID:
00336529
Views:
37
Mike,

This code is almost 2 years old, so maybe the IE5 OE works differently now, but in IE4 with OE I have this method fragment in production:
with this.oleMAPIMessages
   this.mnAttachmentCount = this.mnAttachmentCount + 1
   dimension this.maAttachments[this.mnAttachmentCount]
   .AttachmentIndex = this.mnAttachmentCount - 1
   .AttachmentPathName = pcFileName
*   .AttachmentPosition = this.mnAttachmentCount - 1 && 04-Aug-98 KB Article Q181899
* 12-Aug-98 removed above line because setting it to anything but 0 causes an error
   i = rat( "\", pcFileName )
   this.maAttachments[this.mnAttachmentCount] = substr( pcFileName, i+1 )
   .AttachmentName = this.maAttachments[this.mnAttachmentCount]
   .AttachmentType = 0
endwith
>>Nope, you set the AttachmentIndex property to have multiple attachments.
>
>Oh. But I thihnk you need to give them all a unique position within the message, otherwise, you'll get an error. Maybe its differnet for different Simple Mapi Clients.
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