
Signature
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )
So, how would I change the createEmail(); function to accommodate that?
Also, I'm not really a programmer but would like to know where to find this
type of information in the future. Thanks.
> There are various properties on the email object that you can fill in, such as:
> emailObject.To = "";
> emailObject.From = "";
>
> etc.
Greg Collins [InfoPath MVP] - 10 Aug 2006 20:48 GMT
You should be able to find sufficient info on these properties in the InfoPath help and on the MSDN web site.

Signature
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )
S.Y.M. Wong-A-Ton - 13 Aug 2006 04:21 GMT
It would help a lot in the near future if you mentioned which sample form you
were looking at? It saves us time when trying to help you. :) Thanks!
You can find more information on the "To" property of the "MailEnvelope"
object here:
http://msdn.microsoft.com/library/en-us/ipsdk/html/xdproTo_HV01021343.asp?frame=true
Just set it to a string representing one or more email addresses and you
should be good to go. Another option is to pass it as a variable to the
createEmail() function like this:
function createEmail(emailAddress)
{
....
oEnvelope.To = emailAddress;
...
}
and then call it somewhere else in your code:
createEmail("someone@example.com");
---
S.Y.M. Wong-A-Ton
> So, how would I change the createEmail(); function to accommodate that?
> Also, I'm not really a programmer but would like to know where to find this
[quoted text clipped - 5 lines]
> >
> > etc.