<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Email</title><link>https://www.infopathdev.com:443/forums/thread/16001.aspx</link><pubDate>Wed, 15 Feb 2006 21:05:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16001</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16001.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16001</wfw:commentRss><description>How are you submitting the form now?&lt;br /&gt;If is a "Submit" kind of button then you can write your code in OnSubmitRequest method.&lt;br /&gt;&lt;br /&gt;If it is a regular button you can use custom code behind the button. &lt;br /&gt;Search the Forum with "Email" as the keyword there are lot of posts which have the code to access the email adapter.&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;INFOPATHdev India</description></item><item><title>Re: Email</title><link>https://www.infopathdev.com:443/forums/thread/16000.aspx</link><pubDate>Wed, 15 Feb 2006 16:03:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16000</guid><dc:creator>ek38</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16000.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16000</wfw:commentRss><description>Thanks for the reply Agni,&lt;br /&gt;&lt;br /&gt;Being new to Infopath, can you direct me to where this code needs to be placed?  Is there supporting code that needs to be entered?  e.g. Do we have to create the object and destroy it when we are done etc.&lt;br /&gt;&lt;br /&gt;My guess is that we need to put another button on the form that says email.  Then we have to use choose custom code behind the button and program in all the email parameters.  If this is the case, can you point me to a good library of sample code to do this?  Or perhaps, I'm making this too complicated.&lt;br /&gt;&lt;br /&gt;&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Agni&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Hi,&lt;br /&gt;Welcome to the Forum!&lt;br /&gt;Yes when we take the dataconnection we cannot assign a form value to the "Introduction". But we can achieve this in the code.&lt;br /&gt;emailAdapterObject.Intro = "";&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;INFOPATHdev India&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;</description></item><item><title>Re: Email</title><link>https://www.infopathdev.com:443/forums/thread/15999.aspx</link><pubDate>Wed, 15 Feb 2006 06:47:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15999</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15999.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15999</wfw:commentRss><description>Hi,&lt;br /&gt;Welcome to the Forum!&lt;br /&gt;Yes when we take the dataconnection we cannot assign a form value to the "Introduction". But we can achieve this in the code.&lt;br /&gt;emailAdapterObject.Intro = "";&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;INFOPATHdev India</description></item><item><title>Email</title><link>https://www.infopathdev.com:443/forums/thread/15349.aspx</link><pubDate>Tue, 14 Feb 2006 22:01:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15349</guid><dc:creator>ek38</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15349.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15349</wfw:commentRss><description>We are using Infopath in conjunction with Sharepoint.&lt;br /&gt;&lt;br /&gt;We have a comments text box in the form that we would like to place in the body (or as infopath calls it, introduction) of the email.&lt;br /&gt;&lt;br /&gt;In the data connection, we can assign form values to the "To:" and "Subject" lines but not the body.  Is there anyway around this.  It seems like a design flaw to me.</description></item></channel></rss>