| Author |  | 
      
        | chintan Newbie
 
  
  
 Joined: 19 May 2009
 Location: India
 Online Status: Offline
 Posts: 7
 | 
          HI,
           | Posted: 15 November 2011 at 9:11pm | IP Logged |   |  
           | 
 |  We use mailbee.net for syncronizing emails from google to our application.
 we want user to report spam for an email (withing our application)and that should reflect changes to google mails.
 
 i checked code from your documentation which is as following.
 but does not work.
 imp.SetMessageFlags(imp.MessageCount.ToString(), false, "$Spam", MessageFlagAction.Replace, false);
 
 can you suggest what am i doing wrong ?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          I'm not sure how GMail works in that regard, but there's a great chance that moving message to Spam folder will have the effect of marking mails as spam. In general, IMAP and POP3 services of GMail have highly non-standard behavior, and the approach which works for other services will not necessarily works with them.
           | Posted: 15 November 2011 at 10:26pm | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 
 P.S.: Since it's not a question about WebMail Lite I have moved the topic to the appropriate folder.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | chintan Newbie
 
  
  
 Joined: 19 May 2009
 Location: India
 Online Status: Offline
 Posts: 7
 | 
          hi.
           | Posted: 22 November 2011 at 11:21pm | IP Logged |   |  
           | 
 |  
 i have found that there is new method for to set flags in mailbox
 
 http://www.afterlogic.com/mailbee/docs/#IMAP4_methods_SetFlagsForMessageAsString.htm
 
 but when i downloaded latest mail bee objects, i did not find above method.
 
 though it exist in documentation.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          You are referring to documentation for MailBee Objects (ActiveX) while you seem to use MailBee.NET Objects. Documentation for the latter is available at http://www.afterlogic.com/mailbee-net/docs/.
           | Posted: 22 November 2011 at 11:23pm | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |