Send email as web page from InfoPath?

D

dpatterson

I have configured a button in my XML InfoPath form to send an email, however
I need to send the email as a web page (MHTML doc). Tried several
configurations and have not been successful. Help please….

Thanks.
 
L

leroy

Hi,
See "Issue Tracking" sample form. In form's script see createEmail function
....

var oEnvelope = XDocument.View.Window.MailEnvelope;
oEnvelope.To = rgRecipients.join("; ");
oEnvelope.Subject = getNodeValue(xmlTitle);
oEnvelope.Visible = true;

This will allow you send (NOT submit) email with mhtml in the body.

Cheers.
 

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