Hi,
If you go to File \ Send to Email Recipient, the form will be included in
the body of the email. Only the attachment requires InfoPath to be installed
on the recipient machine.
Now, as na alternative, you could generate HTML from your xml and anyone
could open the read-only form with IE:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/ipsd
kUsingTheDownLevelTool_HV01081784.asp
Hope that it helps.
Regards,
Franck Dauché
> I have built a form for a quote tool and I want to be able to send the
> information entered in the form via email. The only catch is - I want the
[quoted text clipped - 3 lines]
>
> troy
Bruno DUPUY - 08 Nov 2005 09:55 GMT
Hi,
Very interesting. Is there a way to it (File \ Send to Email Recipient) by
code, within Infopath?
> Hi,
>
[quoted text clipped - 21 lines]
>>
>> troy
Franck Dauché - 08 Nov 2005 15:50 GMT
Hi Bruno,
Sure, in C# for example:
EmailAdapter oEmail =
(EmailAdapter)thisXDocument.DataAdapters["MyEmailConnectionReference"];
oEmail.Intro = thisXDocument.DOM.xml; //Form xml as E-mail body.
oEmail.Submit();
Regards,
Franck
> Hi,
>
[quoted text clipped - 26 lines]
> >>
> >> troy
Bruno DUPUY - 09 Nov 2005 08:20 GMT
Hi,
thanks for your answer.
last question, is there a way to do by code "File / export to ... Web" and
generate a mht ?
Bruno
> Hi Bruno,
>
[quoted text clipped - 42 lines]
>> >>
>> >> troy
Franck Dauché - 09 Nov 2005 14:34 GMT
Yes, use: XDocument.View.Export(YouPath, "MHT");
Regards,
Franck
> Hi,
>
[quoted text clipped - 51 lines]
> >> >>
> >> >> troy
Bruno DUPUY - 10 Nov 2005 08:57 GMT
thanks a lot
Bruno
> Yes, use: XDocument.View.Export(YouPath, "MHT");
>
[quoted text clipped - 62 lines]
>> >> >>
>> >> >> troy