<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Sending infopath form view in mail through code (in event receiver)</title><link>https://www.infopathdev.com:443/forums/thread/91143.aspx</link><pubDate>Sun, 07 Jul 2013 05:01:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91143</guid><dc:creator>santosh.prasanna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91143.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=91143</wfw:commentRss><description>In the event reciver, you can use this method to send email to the user.

If you want to send infopath form. you need to fetch the lonk and pass as the url...

private void SendEmailToApprover(SPItemEventProperties properties, string strEmail, string strHtmlBody)
        {

            using (SPWeb web = properties.OpenWeb())
            {
                string strHtmlSubject =  properties.ListItem[&amp;quot;Form User&amp;quot;].ToString();
                StringDictionary headers = new StringDictionary();
                string strCCEmail = &amp;quot;santu.kondapally@gmail.com&amp;quot;;
                headers.Add(&amp;quot;to&amp;quot;, strEmail);
                headers.Add(&amp;quot;bcc&amp;quot;, strCCEmail);
                headers.Add(&amp;quot;subject&amp;quot;, strHtmlSubject);
                SPUtility.SendEmail(web, headers, strHtmlBody);


            }
        }
Thanks,
Sandy</description></item><item><title>Sending infopath form view in mail through code (in event receiver)</title><link>https://www.infopathdev.com:443/forums/thread/89516.aspx</link><pubDate>Mon, 06 May 2013 16:07:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:89516</guid><dc:creator>jovitech</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/89516.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=89516</wfw:commentRss><description>&lt;br /&gt;&lt;p&gt;&amp;nbsp;Hi All,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have&amp;nbsp; a info-path form which gets saved into a form library after a user submits it. When a form is saved to the library , an event receiver is triggered.&lt;/p&gt;&lt;p&gt;I have a set of operations to be done in the receiver. At the end of each operation I need to send a mail to the user with submit button.&amp;nbsp;&lt;/p&gt;&lt;p&gt;How can i send the info-path view with button&amp;nbsp; in a mail through event receiver. Please help anyone.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;jovitech &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>