<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Email introduction field</title><link>https://www.infopathdev.com:443/forums/thread/14029.aspx</link><pubDate>Tue, 22 Nov 2005 14:37:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14029</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14029.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14029</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Welcome on board!&lt;br /&gt;&lt;br /&gt;After you create the connection (email), write the following code in your onclick event (C#)&lt;br /&gt;&lt;br /&gt;EmailAdapter oEmail = (EmailAdapter)thisXDocument.DataAdapters["EmailConnectionName"];&lt;br /&gt;oEmail.To = sToAddress;&lt;br /&gt;oEmail.CC = sCCAddress;&lt;br /&gt;oEmail.Subject ="Subject, What ever you want"; &lt;br /&gt;oEmail.Intro = "s filled form of XY.xsn has been filled out. You can find it under X:\shared\formsXY\" + link;&lt;br /&gt;&lt;br /&gt;oEmail.Submit();&lt;br /&gt;&lt;br /&gt;++&lt;br /&gt;&lt;br /&gt;Thierry&lt;br /&gt;&lt;br /&gt;P.S. Next time make a little search on the forum before post! The search button for the forum is in the right corner not left (left search is only website content)! Thanks a lot</description></item><item><title>Email introduction field</title><link>https://www.infopathdev.com:443/forums/thread/12689.aspx</link><pubDate>Tue, 22 Nov 2005 13:41:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12689</guid><dc:creator>mike.dunn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12689.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12689</wfw:commentRss><description>Is there anyway to set the email introducion field using information from text boxes on the form? It seems that if there is a way, you would have to set the field using code.&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>