Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSMapi control
Message
From
14/11/2001 11:19:25
 
 
To
13/11/2001 22:57:24
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00581298
Message ID:
00581571
Views:
16
This works with msmapi and vfp6 so no reason why vfp7 shouldn't either

this is part of an internal call mangement app that i use at work.


what this bit of does is to set up the to and cc fileds for an email

.recipaddress is recipient property
.resolvename is a method to check the address out
.reciptype is 1 for to 2 for cc 3 for bcc

so this sets up 1 to and 2 cc's

code is...

This.parent.OLEMMESS.Recipaddress="Colin@ucs.uk.com"
This.parent.OLEMMESS.Resolvename
This.parent.OLEMMESS.Reciptype=1

nextmail=This.parent.OLEMMESS.RECIPCOUNT
This.parent.OLEMMESS.RECIPINDEX=nextmail
This.parent.OLEMMESS.Recipaddress=assigned_engineer
This.parent.OLEMMESS.Resolvename
This.parent.OLEMMESS.Reciptype=2

nextmail=This.parent.OLEMMESS.RECIPCOUNT
This.parent.OLEMMESS.RECIPINDEX=nextmail
This.parent.OLEMMESS.Recipaddress="someone_else@ucs.uk.com"
This.parent.OLEMMESS.Resolvename
This.parent.OLEMMESS.Reciptype=2



hope this helps
colin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform