Trick Outlook into thinking a submitted form is not XML - $75 USD Bounty - InfoPath Dev
in

InfoPath Dev

Trick Outlook into thinking a submitted form is not XML - $75 USD Bounty

Last post 08-08-2009 01:01 AM by CSP11. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-08-2009 01:01 AM

    • CSP11
    • Not Ranked
    • Joined on 08-08-2009
    • Posts 1

    Trick Outlook into thinking a submitted form is not XML - $75 USD Bounty

    edit: I am using InfoPath 2003. A am desperate for a solution here and am willing to paypal $75 USD to anyone who can provide me with a solution that works. I've inherited an application that generates InfoPath forms. I'm required to add functionality so that the forms can be submitted by email whilst offline. The idea is that the forms can be filled in offline, and then sent via email, and then processed by another application that checks the submission inbox. Unfortunely I have to use WEBDav code on the server to check the email inbox which is equivalent to Outlook Web Access. OWA blocks xml files or strips the xml out of the file. I've tried setting the name of the attachment programmatically to another extension but that doesnt work, Outlook must read all files and if it finds XML tags, takes it out of the document. What I did try was changing the first line out of the form and submitting that. I changed the "?xml version="1.0" to "?xsl version="1.0" . It worked! It seems so long as Outlook doesnt find the 'xml' string then it doesnt think its an xml document. It would then be no problem to 'fix up' the file on the server side. Currently I am submitting the form programmatically using a button and some JS. Is there any way I can modify the raw data before it is submitted? Ie, changing the opening XML tag to XSL. Or perhaps change the encoding? Or obfusicate the file or anything? In summary, I need to trick outlook into thinking the submitted form is not XML. The solution must be self contained within an XSN. Any ideas?
    Filed under:
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.