If you're looking to send an email through code, search this newsgroup on
"email" and you'll find many code samples on how to do this by using either
the MailEnvelope object or the EmailAdapter object.
These links might also help:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/h
tml/odc_InfoPath_extending_save.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/xdob
jMailEnvelope_HV01021244.asp
http://msdn.microsoft.com/library/en-us/ipsdk/html/xdobjEmailAdapterObject_HV011
06499.asp?frame=true
---
S.Y.M. Wong-A-Ton
> SaHi All,
> I'm new to JS and i want to send a email on save event according to the
> behavior of controls in the form (checked or unchecked check-box etc) . I saw
> the Tools>Form Options>Open and Save Tab> Save behavior which send me to a JS
> editor. Does someone have any links to samples of JS in infopath environment?
> Thanks a lot in advance
Lp12 - 30 Aug 2006 12:06 GMT
Thanks a lot......
I've search the newgroup but didnt find too many code samples for email and
in general. Might you have a good reference site that I can learn how to
develop in JS environment? I'm trying to study the infopath object model in
the meanwhile...
Thanks again.
> If you're looking to send an email through code, search this newsgroup on
> "email" and you'll find many code samples on how to do this by using either
[quoted text clipped - 15 lines]
> > editor. Does someone have any links to samples of JS in infopath environment?
> > Thanks a lot in advance
S.Y.M. Wong-A-Ton - 31 Aug 2006 08:56 GMT
There are search entries for "MailEnvelope" and "EmailAdapter". Not
abundantly, I'll agree, but you can find them. :) You can also check out the
SDK for InfoPath. For more general information on JScript, check out
http://www.microsoft.com/scripting/ . And there are a few InfoPath
2003-specific samples on my website
http://enterprise-solutions.swits.net/infopath/ .
---
S.Y.M. Wong-A-Ton
> Thanks a lot......
> I've search the newgroup but didnt find too many code samples for email and
[quoted text clipped - 22 lines]
> > > editor. Does someone have any links to samples of JS in infopath environment?
> > > Thanks a lot in advance