<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: email form as XML</title><link>https://www.infopathdev.com:443/forums/thread/88918.aspx</link><pubDate>Mon, 15 Apr 2013 05:22:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88918</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88918.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=88918</wfw:commentRss><description>&lt;p&gt;Hi Excellerant,&lt;/p&gt;&lt;p&gt;Well, the default way of attaching the XML should be sufficient. Your email VBA code that triggers will have to open the XML and query it, but you&amp;#39;d have to do a very similar thing if the email body was XML. So, I don&amp;#39;t think you gain anything by switching the XML from the attachment to the email body. We&amp;#39;ve done Outlook VBA plugins that parse XML files attached to emails and do stuff with it. For an hour or two of time, we could share some code with you.&lt;/p&gt;&lt;p&gt;Good luck,&lt;/p&gt;&lt;p&gt;Patrick&lt;/p&gt;</description></item><item><title>email form as XML</title><link>https://www.infopathdev.com:443/forums/thread/88912.aspx</link><pubDate>Sat, 13 Apr 2013 20:32:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88912</guid><dc:creator>excellerant</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88912.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=88912</wfw:commentRss><description>I want the completed form to be sent to an email address as XML rather than as an attachment or image because the recipient mailbox will process the form based on the XML code.

ie:
the user fills in the form and one of the XML lines displays:
IT

so the rule will say (psuedocode):
if department = &amp;quot;IT&amp;quot; then assign work order to the XYZ team

I know how the recipient mailbox will handle the code. I&amp;#39;m just not sure how to get the submitted form to email the XML code. 

I&amp;#39;m using InfoPath 2010.

I will probably post the form in our SharePoint site but I don&amp;#39;t NEED it to be uploaded to a SP library or anything like that. Although if that makes this easier or is necessary that is certainly doable.


Sorry if this is the wrong section to post this question.</description></item></channel></rss>