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