<?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: i have submitted infopath form data to share point list please how to send this form to mail attachment?.</title><link>https://www.infopathdev.com:443/forums/thread/35543.aspx</link><pubDate>Tue, 09 Dec 2008 13:11:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35543</guid><dc:creator>madhuri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35543.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35543</wfw:commentRss><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;Write code to to send form as attachment in email and sharepoint submit on a button&lt;/p&gt;
&lt;p&gt;Code for sending an attachment in Email,below look will be helpful&amp;nbsp;to you&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.fekke.com/blog/index.cfm/2008/1/21/Sending-Email-with-Attachments-from-Sharepoint-Custom-Workflows"&gt;http://www.fekke.com/blog/index.cfm/2008/1/21/Sending-Email-with-Attachments-from-Sharepoint-Custom-Workflows&lt;/a&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;Code for SharePoint Submit:&lt;/p&gt;
&lt;p&gt;1.Create ViewOption.xml file in the below format&lt;/p&gt;
&lt;p&gt;&amp;lt;ViewOptions&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;SharePointURL&amp;gt;SharePoint site url name&amp;lt;/SharePointURL&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/ViewOptions&amp;gt;&lt;/p&gt;
&lt;p&gt;2.Add the Viewoption.xml file as resource file and add receive dataconnection for it&lt;/p&gt;
&lt;p&gt;3.Write the code for submitting to sharepoint,&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;font size="2"&gt; SharePointURL = thisXDocument.GetDOM(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;ViewOptions&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;).selectSingleNode(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;/ViewOptions/SharePointURL&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;).text;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;font size="2"&gt; fileName = thisXDocument.Dom.selectSingleNode(&lt;font color="#800000"&gt;&amp;quot;&lt;/font&gt;Xpath of the filename&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font size="2"&gt;DAVAdapter SharePoint = (DAVAdapter)thisXDocument.DataAdapters[&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;SharePoint Library Submit&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;];&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;SharePoint.FileName = fileName;&lt;/p&gt;
&lt;p&gt;SharePoint.FolderURL = SharePointURL;&lt;/p&gt;
&lt;p&gt;SharePoint.Submit();&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>i have submitted infopath form data to share point list please how to send this form to mail attachment?.</title><link>https://www.infopathdev.com:443/forums/thread/35541.aspx</link><pubDate>Tue, 09 Dec 2008 12:21:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35541</guid><dc:creator>swapna_l9</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35541.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35541</wfw:commentRss><description>&lt;p&gt;i have gone thru following link.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/infopath/archive/2007/03/26/submitting-to-a-sharepoint-list.aspx"&gt;&lt;font color="#666666"&gt;http://blogs.msdn.com/infopath/archive/2007/03/26/submitting-to-a-sharepoint-list.aspx&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;i have done functionality.&lt;/p&gt;
&lt;p&gt;i have place submit button there i am submitting data list.&lt;/p&gt;
&lt;p&gt;i need to send a form to email. form mail data will fill and when click on submit button data should submit to the list?.&lt;/p&gt;</description></item></channel></rss>