| Author |  | 
      
        | pcwebservice Newbie
 
  
  
 Joined: 03 July 2021
 Location: France
 Online Status: Offline
 Posts: 8
 | 
          Hello,
           | Posted: 03 July 2021 at 10:07am | IP Logged |   |  
           | 
 |  
 I am using your awesome PHP api. I am able to retrieve the folders and emails, but I am unable to get and save the attachments for display in the email view. Could you help me please.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | pcwebservice Newbie
 
  
  
 Joined: 03 July 2021
 Location: France
 Online Status: Offline
 Posts: 8
 | 
          
           | Posted: 03 July 2021 at 12:05pm | IP Logged |   |  
           | 
 |  In case anyone else has this problem, the solution is:
 
 You have to pass the 'GetMessage' method
 
 
 
| Code: 
 
    
    | 
      
       | $oMessage = $oMailDecorator->GetMessage($AccountID, $Folder, $Uid);
 $aMessage = $oMessage->toResponseArray(array('Method'=>'GetMessage')));
 
 |  |  |  
 | 
       
        | Back to Top |     | 
       
       
        |  |