| Author |  | 
      
        | cpwood Newbie
 
  
 
 Joined: 09 March 2011
 Location: United Kingdom
 Online Status: Offline
 Posts: 2
 | 
          Hi there,
           | Posted: 09 March 2011 at 4:44am | IP Logged |   |  
           | 
 |  
 I'm just evaluating the IMAP component at the moment before purchasing. I've used the example
 OAUTH code for IMAP from here:
 
 http://www.afterlogic.com/mailbee-net/docs/MailBee.OAuth.htm l
 
 (the second VB example from the top).
 
 The code works wonderfully and I'm almost happy to buy, but I just need clarification on one thing. I'm
 unsure whether this is a MailBee question or a general OAUTH question though..
 
 Each time I run the example code, it opens my browser to ask me to grant access to the application. I
 then have to copy and paste this back into the console app. Is there any way to not have to do this each
 time the app runs (i.e. retain the authorisation)? I've tried setting the value of the "key" variable to be
 whatever was on the web page, but I get an exception about invalid state.
 
 Can anybody please help?
 
 Many thanks,
 
 Chris
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | cpwood Newbie
 
  
 
 Joined: 09 March 2011
 Location: United Kingdom
 Online Status: Offline
 Posts: 2
 | 
          Never mind - fixed it myself. The problem is that there's no way of holding on to the token and token
           | Posted: 09 March 2011 at 9:42am | IP Logged |   |  
           | 
 |  secret using the OAuth class in MailBee.NET.
 
 In the end I used a different component.
 
 Chris
 | 
       
        | Back to Top |     | 
       
       
        |  |