I'm using Infopath 2003 SP3. I've written the following jscript code that is executed by a button I put on my form that opens the mail envelope and "embeds" the form into an email being sent by Exchange 2007.
ffunction Send_Form::OnClick(eventObj)
{
{
try { var oEnvelope = Application.ActiveWindow.MailEnvelope; ...