<?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>Workflow</title><link>https://www.infopathdev.com:443/forums/50.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>submitting form data to an email address  - workaround for IP2003-Outlook 2007 incompatibility</title><link>https://www.infopathdev.com:443/forums/thread/42384.aspx</link><pubDate>Tue, 02 Jun 2009 09:06:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42384</guid><dc:creator>pineapple23</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42384.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=50&amp;PostID=42384</wfw:commentRss><description>&lt;p&gt;I need to make my form email the data of a new record to a given address. The problem is that IP 2003 requires Outlook 2003 to be the default mail client in order to do this. I have found forum posts offering workarounds using javascript, however, none of them seem to work. it doesnt help that i have very little coding knowledge, and am not sure if i&amp;#39;m even pasting the code in the correct place&lt;br /&gt;&amp;nbsp;&lt;br /&gt;function OpenMailEnvelop(subject, to)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp; var oEnvelope = Application.ActiveWindow.MailEnvelope;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp; oEnvelope.Subject = subject;&lt;br /&gt;&amp;nbsp; oEnvelope.To = to;&lt;br /&gt;&amp;nbsp; oEnvelope.Visible = true;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch(exception)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return false;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;function btnSomeButton::OnClick(eventObj)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; OpenMailEnvelop(&amp;quot;this is the subject&amp;quot;, &amp;quot;&lt;a href="mailto:someone@somewhere.com"&gt;someone@somewhere.com&lt;/a&gt;&amp;quot;)&lt;br /&gt;&amp;nbsp;&lt;br /&gt;i&amp;#39;ve just been pasting all of this where the code for the button goes, and changing nothing except the &amp;quot;btnSomeButton&amp;quot; reference, and the email address/subject.&lt;br /&gt;any help would be very much appreciated.&lt;/p&gt;</description></item></channel></rss>