Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending Multiple attachments with MSMAPI (Formatted)
Message
From
22/01/2001 09:47:36
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Sending Multiple attachments with MSMAPI (Formatted)
Miscellaneous
Thread ID:
00466576
Message ID:
00466576
Views:
48
I am using the MSMAPI control

I can send 1 attachment ok but I am having trouble sending mutiple attachments.

ie an example where I try to send my config.sys and autoexec.bat files as an attachment
********This bit works ok

Thisform.MapiMessages1.AttachmentIndex = 0
*Thisform.MapiMessages1.AttachmentPosition = 0
*&&Set the type of attachment:
Thisform.MapiMessages1.AttachmentType = ATTACHTYPE_DATA
*&&Set the icon title of attachment:
Thisform.MapiMessages1.AttachmentName = "System Configuration File"
*&&Set the path and file name of the attachment:
Thisform.MapiMessages1.AttachmentPathName = "C:\CONFIG.SYS"


****** However when I add this bit it tells me there is an unspecified failure message
Thisform.MapiMessages1.AttachmentIndex = 1
*Thisform.MapiMessages1.AttachmentPosition = 20
*&&Set the type of attachment:
Thisform.MapiMessages1.AttachmentType = ATTACHTYPE_DATA
*&&Set the icon title of attachment:
Thisform.MapiMessages1.AttachmentName = "Auto exec File"
*&&Set the path and file name of the attachment:
Thisform.MapiMessages1.AttachmentPathName = "C:\AUTOEXEC.BAT"
Many Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform