| Author | 
         | 
         
      
        
         
         Naresh Newbie 
          
 
  Joined: 12 April 2007 Location: India
 Online Status: Offline Posts: 9
          | 
        
         
          
           | Posted: 11 May 2007 at 5:54pm | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Support Team,
 
 We are using MailBee.Net Component for Mail Management System.
 
 We have already purchased a license copy for this product.
 
 Once we reply/Fwd any message from inbox, that existing message from inbox folder should be display with different icon.
 
 How can we solve this issue.
 
 We are using following code.
 
 If imp.SelectFolder("Inbox") Then
 
 ' Download MailMessage
 Dim msg As MailMessage = imp.DownloadEntireMessage(p_MsgIndex, False)
 
 ' Mark message as reply
 msg.References = "Fwd"
 
 ' Upload the message
 ' Set message flag
 imp.UploadMessage(msg, "Inbox", SystemMessageFlags.Seen)
 
 ' Delete a previous mail
 imp.DeleteMessages(p_MsgIndex, False)
 
 ' Uncomment the next line to purge deleted messages.
 imp.Close()
 
 End If
 
 
 When we upload a new message its date getting changed.
 
 Please reply as soon as possible
 
 Regards,
 Naresh
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         Alex AfterLogic Support 
          
  
  Joined: 19 November 2003
 Online Status: Offline Posts: 2207
          | 
        
         
          
           | Posted: 11 May 2007 at 6:00pm | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
You're using the simplest overload of UploadMessage which sets message date to the current. You should use another overload (such as this one) and specify the same date that was in the original message.
 
 Regards,
 Alex
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |