<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwizguide.com/rss_namespace/">
 <channel>
  <title>Parker Software Forum : Message UID</title>
  <link>http://www.parkersoft.co.uk/forum/</link>
  <description>This is an XML content feed of; Parker Software Forum : General : Message UID</description>
  <pubDate>Wed, 19 Jun 2013 05:21:40 +0000</pubDate>
  <lastBuildDate>Tue, 19 Jun 2012 09:37:22 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.64</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.parkersoft.co.uk/forum/RSS_post_feed.asp?TID=8561</WebWizForums:feedURL>
  <image>
   <title>Parker Software Forum</title>
   <url>http://www.parkersoft.co.uk/forum/forum_images/PSLSmall.bmp</url>
   <link>http://www.parkersoft.co.uk/forum/</link>
  </image>
  <item>
   <title>Message UID :   HiNo- the MessageStore table...</title>
   <link>http://www.parkersoft.co.uk/forum/forum_posts.asp?TID=8561&amp;PID=19537#19537</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.parkersoft.co.uk/forum/member_profile.asp?PF=1089" rel="nofollow">Daniel</a><br /><strong>Subject:</strong> 8561<br /><strong>Posted:</strong> 19 Jun 2012 at 9:37am<br /><br />Hi<div>&nbsp;</div><div>No&nbsp;- the MessageStore table is populated after the message is processed.&nbsp; Before this it is inside the EdgeQueue table, but the MessageIDs here aren't related.</div><div>&nbsp;</div><div>You could modify the messageid on the fly if you want to replace it with a GUID for instance.&nbsp; You can do this in the script at any stage in the trigger process:</div><div>&nbsp;</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>Email2DBMessage.MessageID = "Your New ID" '&nbsp; this is a string field.</div><div></pre></td></tr></table></div><div>&nbsp;</div><div>The only downside to this would be if you needed the Message ID to remain intact to prevent duplicate processing.&nbsp;&nbsp; The original Message ID would still be available inside the email header.</div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Tue, 19 Jun 2012 09:37:22 +0000</pubDate>
   <guid isPermaLink="true">http://www.parkersoft.co.uk/forum/forum_posts.asp?TID=8561&amp;PID=19537#19537</guid>
  </item> 
  <item>
   <title>Message UID : Hi again,I have decided to use...</title>
   <link>http://www.parkersoft.co.uk/forum/forum_posts.asp?TID=8561&amp;PID=19528#19528</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.parkersoft.co.uk/forum/member_profile.asp?PF=2784" rel="nofollow">l33m4n</a><br /><strong>Subject:</strong> 8561<br /><strong>Posted:</strong> 18 Jun 2012 at 10:27am<br /><br />Hi again,<br><br>I have decided to use RecordNo as my unique message id in the autoresponse. I can't see it exposed as a built-in field so I am trying to populate it into a variable called using the Set Variable action.<br><br>Variable Name = RecordNo<br>Select RecordNo<br>from &#091;Email2DBV3&#093;.&#091;dbo&#093;.&#091;MessageStore&#093;<br>where UID = '%msg_messageid%'<br><br>ReturnField=RecordNo<br><br>I have tested the SQL command and it returns RecordNo if I use an existing UID value but it returns blank when the trigger fires. At what point does the MessageStore record get commited to the database? Is it before the trigger executes and if so should this value be available to populate into the RecordNo variable?<br><br>Thanks!<br>]]>
   </description>
   <pubDate>Mon, 18 Jun 2012 10:27:22 +0000</pubDate>
   <guid isPermaLink="true">http://www.parkersoft.co.uk/forum/forum_posts.asp?TID=8561&amp;PID=19528#19528</guid>
  </item> 
  <item>
   <title>Message UID : Hi James,Can I add a new column...</title>
   <link>http://www.parkersoft.co.uk/forum/forum_posts.asp?TID=8561&amp;PID=19526#19526</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.parkersoft.co.uk/forum/member_profile.asp?PF=2784" rel="nofollow">l33m4n</a><br /><strong>Subject:</strong> 8561<br /><strong>Posted:</strong> 15 Jun 2012 at 9:30am<br /><br />Hi James,<br><br>Can I add a new column to the MessageStore table in the database that is a new Guid (uniqueidentifier) and use this as a variable in my trigger? As an example, if I wanted to use the RecordNo identity which isn't available as a built in variable, how do I do that?<br><br>Thanks!<br>]]>
   </description>
   <pubDate>Fri, 15 Jun 2012 09:30:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.parkersoft.co.uk/forum/forum_posts.asp?TID=8561&amp;PID=19526#19526</guid>
  </item> 
  <item>
   <title>Message UID : Hi l33m4n,You should be able to...</title>
   <link>http://www.parkersoft.co.uk/forum/forum_posts.asp?TID=8561&amp;PID=19525#19525</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.parkersoft.co.uk/forum/member_profile.asp?PF=2008" rel="nofollow">James Horton</a><br /><strong>Subject:</strong> 8561<br /><strong>Posted:</strong> 14 Jun 2012 at 8:23pm<br /><br />Hi l33m4n,<div><br></div><div>You should be able to create an Extracted Field within the Trigger that is set via an Extract Script. This can be any value you would like if this is any value you wish to assign to the message within a Trigger Actions.<br><br>This can be assigned to a Trigger Action by script using FIELDS_Value(" {field name} ") or within an Action's UI controls by using %field name% or dragging it across from the available fields.</div><div><br></div><div>Here is a link through to a UID creation script that we have within our samples -&nbsp;<a href="http://www.parker-software.com/forum/forum_posts.asp?TID=6115&amp;title=custom-unique-id-field" target="_blank">http://www.parker-software.com/forum/forum_posts.asp?TID=6115&amp;title=custom-unique-id-field</a></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 14 Jun 2012 20:23:59 +0000</pubDate>
   <guid isPermaLink="true">http://www.parkersoft.co.uk/forum/forum_posts.asp?TID=8561&amp;PID=19525#19525</guid>
  </item> 
  <item>
   <title>Message UID : Hi,I want to store a unique message...</title>
   <link>http://www.parkersoft.co.uk/forum/forum_posts.asp?TID=8561&amp;PID=19524#19524</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.parkersoft.co.uk/forum/member_profile.asp?PF=2784" rel="nofollow">l33m4n</a><br /><strong>Subject:</strong> 8561<br /><strong>Posted:</strong> 14 Jun 2012 at 6:13pm<br /><br />Hi,<br><br>I want to store a unique message ID against every message processed. I am collecting emails from multiple mailboxes so I can't use the Server Generated MessageID option (it would give duplicates). The problem is that the default UID is something like:-&nbsp; <br><br><i>BCA79D1E51B2BD44AFE3EAE99E2791FF952FD82720 ORD1MBX06 mex04 mlsrvr com 20120614180218</i><br><br>which isn't very user friendly when included in auto-response emails and any further human interfacing workflow.<br><br>Is there any way I can control the format of the UID so that it's a more user-friendly value? The other option is that I use the RecordNo field but that's not a preferable option if I ever need to use replication..<br><br>Any ideas?<br>]]>
   </description>
   <pubDate>Thu, 14 Jun 2012 18:13:24 +0000</pubDate>
   <guid isPermaLink="true">http://www.parkersoft.co.uk/forum/forum_posts.asp?TID=8561&amp;PID=19524#19524</guid>
  </item> 
 </channel>
</rss>