Email as attachment only?

M

Matt

I have an Infopath form that I put a Submit button on. I'm not using the
Submit action, because I want to let the user specify the email address of
the recipient. I'm using the following jscript instead in the OnClick event
of the button:

var oEnvelope = Application.ActiveWindow.MailEnvelope
oEnvelope.Visible = true

This puts the form in the body of the email, as well as making the xml file
an attachment.

Is there any way to prevent the form from showing up in the body of the
email? I know there's no MailEnvelope.Body property, but I thought there
might be some other property of MailEnvelope I could set.

Thanks,
Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top