| Author |  | 
      
        | dosborn278 Newbie
 
  
 
 Joined: 25 April 2010
 Online Status: Offline
 Posts: 2
 | 
          I'm sure this question has been asked before, but I don't see an answer anywhere.  I need a unique indicator on the message to store in my database. Would that be ServerMessageId?  If so, I assume this is only unique on a server.  If I use email address and this id will it be completely unique?
           | Posted: 25 April 2010 at 10:20am | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Actually, this depends on what exactly you need to achieve. If you'd like to track messages on IMAP server, message UID itself would be fine. But you should note that UID would change if the message is moved to a different IMAP folder. To track a certain message even when it was moved between folders, MessageID property can be used.
           | Posted: 26 April 2010 at 2:19am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | dosborn278 Newbie
 
  
 
 Joined: 25 April 2010
 Online Status: Offline
 Posts: 2
 | 
          Can I use MoveMessage with MessageId?
           | Posted: 02 May 2010 at 8:52am | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          No, you'll need either message index or UID for that. Again, as you have asked about unique message identifier, I have suggested to use MessageID property - it is safe to treat this property as unique identifier. Both message index and message UID can change after performing operations over IMAP mailbox.
           | Posted: 03 May 2010 at 1:31pm | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |