| Author |  | 
      
        | abdullahseba Newbie
 
  
  
 Joined: 25 March 2017
 Location: United Kingdom
 Online Status: Offline
 Posts: 6
 | 
          Hi
           | Posted: 25 March 2017 at 7:13am | IP Logged |   |  
           | 
 |  I am using adminlte's mail theme https://almsaeedstudio.com/themes/AdminLTE/pages/mailbox/mailbox.html and wanted to get a list of messages for the inbox.
 I tried using this link but I keep getting errors with various Call to undefined methods. The number of emails code works but I need to know what they are! Any idea how I can do this?
 Thanks in advance.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          So you basically develop your own mail client and want to use our API to get messages which you will then display in AdminLTE-style UI?
           | Posted: 25 March 2017 at 7:53am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | abdullahseba Newbie
 
  
  
 Joined: 25 March 2017
 Location: United Kingdom
 Online Status: Offline
 Posts: 6
 | 
          
           | Posted: 25 March 2017 at 8:03am | IP Logged |   |  
           | 
 |  
| Alex wrote: 
 
    
    | 
      
       | So you basically develop your own mail client and want to use our API to get messages which you will then display in AdminLTE-style UI? 
 Regards,
 Alex
 |  |  |  Yep, exactly.
 But I don't want to modify the templates cuz its for another project.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | abdullahseba Newbie
 
  
  
 Joined: 25 March 2017
 Location: United Kingdom
 Online Status: Offline
 Posts: 6
 | 
          Hmm... adding get to the methods seems to help. eg: `$oMessage->GetUid()`
           | Posted: 25 March 2017 at 8:39am | IP Logged |   |  
           | 
 |  Docs should mention that.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Oh, you're right. Recently we've performed massive refactoring, with a lot of methods renamed. And looks like this particular sample wasn't updated; we've just corrected it. Thanks.
           | Posted: 27 March 2017 at 5:53am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |