<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Adding (.mht) files as an attachment</title><link>https://www.infopathdev.com:443/forums/thread/9384.aspx</link><pubDate>Thu, 23 Mar 2006 22:04:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9384</guid><dc:creator>atifbaba</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9384.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9384</wfw:commentRss><description>Thanks for your solution mate.&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Atif</description></item><item><title>Re: Adding (.mht) files as an attachment</title><link>https://www.infopathdev.com:443/forums/thread/9383.aspx</link><pubDate>Wed, 22 Mar 2006 02:33:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:9383</guid><dc:creator>Stephanie Cantwell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/9383.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=9383</wfw:commentRss><description>You can launch your form (not template), under the File menu&lt;br /&gt;-&amp;gt; Export To &lt;br /&gt;-&amp;gt; Web &lt;br /&gt;then in the Save as type, select Single File Web Page (*.mht, *.mhtml)&lt;br /&gt;&lt;br /&gt;Although, I think you still need to use code.  Set your attachment file name to the .mht file you saved.&lt;br /&gt;&lt;br /&gt;EmailAdapter oEmail = (EmailAdapter)thisXDocument.DataAdapters["MailSubmit"];&lt;br /&gt;&lt;br /&gt;oEmail.To = "EmailAddress";&lt;br /&gt;oEmail.CC  = "EmailAddress";&lt;br /&gt;oEmail.Subject = "Subject Line";&lt;br /&gt;oEmail.Intro = "Into Text";&lt;br /&gt;oEmail.AttachmentFileName = "Attachment Filename";&lt;br /&gt;&lt;br /&gt;oEmail.Submit();&lt;br /&gt;</description></item><item><title>Adding (.mht) files as an attachment</title><link>https://www.infopathdev.com:443/forums/thread/5466.aspx</link><pubDate>Wed, 22 Mar 2006 00:28:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5466</guid><dc:creator>atifbaba</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5466.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5466</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Without using code, is it possible to create a (.mht) file of the form a user is working on and send it as an attachment in an e-mail message? I would like to perform these actions using a button.</description></item></channel></rss>