<?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: Set Properties in emails by code</title><link>https://www.infopathdev.com:443/forums/thread/15048.aspx</link><pubDate>Fri, 26 Jan 2007 20:25:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15048</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15048.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15048</wfw:commentRss><description>OLK=Outlook</description></item><item><title>Re: Set Properties in emails by code</title><link>https://www.infopathdev.com:443/forums/thread/15047.aspx</link><pubDate>Fri, 26 Jan 2007 20:19:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15047</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15047.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15047</wfw:commentRss><description>Unfortunately, the InfoPath integration with Outlook does not allow this detailed level of mail message parameter setting.  It's a very good point and I'll pass along the feedback to my friends in the InfoPath team.&lt;br /&gt;&lt;br /&gt;At this point you'll have to do it via code completely.  I'm not sure if you can get at the OLK object model from script.&lt;br /&gt;</description></item><item><title>Re: Set Properties in emails by code</title><link>https://www.infopathdev.com:443/forums/thread/15046.aspx</link><pubDate>Fri, 26 Jan 2007 18:55:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15046</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15046.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15046</wfw:commentRss><description>Hi again Philippe,&lt;br /&gt;You can't mix JScript and .NET. I'm sorry, but I haven't done what you are trying to do before. I'm going to ask Shiraz - he worked on InfoPath integration with Outlook during his last job at Microsoft. Stay tuned ...</description></item><item><title>Re: Set Properties in emails by code</title><link>https://www.infopathdev.com:443/forums/thread/15045.aspx</link><pubDate>Fri, 26 Jan 2007 10:07:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15045</guid><dc:creator>zaphi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15045.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15045</wfw:commentRss><description>Hi Patrick&lt;br /&gt;Thanks for your reply.&lt;br /&gt;Here an extract of the code I use (JScript) in my form:&lt;br /&gt;{&lt;br /&gt;...&lt;br /&gt;var oEmail = XDocument.DataAdapters[datenverbindung];&lt;br /&gt;oEmail.Intro = "Dieses Mail wurde von InfoPath generiert. Bitte auf den folgenden Link anklicken, um das Formular zu öffnen und zu bearbeiten:\nLINK: " + XDocument.URI;&lt;br /&gt;//I should define here the importance High&lt;br /&gt;//I should define here the date for follow up reminder&lt;br /&gt;oEmail.Submit();&lt;br /&gt;...&lt;br /&gt;}&lt;br /&gt;properties To and Subject are defined in the data connection.&lt;br /&gt;&lt;br /&gt;I wonder if I can use .NET coding in JScript.&lt;br /&gt;I have searched in MSDN, but haven't found anything I need.&lt;br /&gt;&lt;br /&gt;Philippe</description></item><item><title>Re: Set Properties in emails by code</title><link>https://www.infopathdev.com:443/forums/thread/15044.aspx</link><pubDate>Fri, 26 Jan 2007 02:14:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15044</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15044.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=15044</wfw:commentRss><description>Hi Philippe,&lt;br /&gt;Do you have any code in the form? If you are familiar with .NET coding, you should be able to specify the e-mail envelope properties using code. You may have to search around MSDN for the right property. Let us know what you get working. I really like the automatically set Follow-Up reminder. That's a good idea.</description></item><item><title>Set Properties in emails by code</title><link>https://www.infopathdev.com:443/forums/thread/13039.aspx</link><pubDate>Thu, 25 Jan 2007 10:35:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13039</guid><dc:creator>zaphi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13039.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13039</wfw:commentRss><description>Hi&lt;br /&gt;For two months I introduced an InfoPath form as purchase demand in my company, which must be signed through several people. Those people become the link of the form in an email, which is produced programmically of InfoPath with the EmailAdapter object.&lt;br /&gt;&lt;br /&gt;Now I notice that some people don't treat the forms quickly enough. To solve this problem, I would like to meet following requirements (Outlook):&lt;br /&gt;&lt;br /&gt;1. Set the importance of the message to "High"&lt;br /&gt;2. Set the date of the flag "Follow Up" to remind the addressee automatically&lt;br /&gt;&lt;br /&gt;I wonder if anybody can help me, to solve it by code (JScript)&lt;br /&gt;&lt;br /&gt;Thanks a lot&lt;br /&gt;Best regards.&lt;br /&gt;Philippe</description></item></channel></rss>