| Author |  | 
      
        | AengusO Newbie
 
  
  
 Joined: 26 February 2010
 Location: Ireland
 Online Status: Offline
 Posts: 22
 | 
          In MailBee, is it possible to check the size of email attachments before downloading, so that I can skip attachments which are too big ?
           | Posted: 31 May 2012 at 8:27am | IP Logged |   |  
           | 
 |  
 Thanks.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Yes, that can be done by studying message envelope obtained via IMAP, and Envelope documentation page contains a useful sample on this.
           | Posted: 01 June 2012 at 1:50am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | AengusO Newbie
 
  
  
 Joined: 26 February 2010
 Location: Ireland
 Online Status: Offline
 Posts: 22
 | 
          Hi Thanks for the reply,
           | Posted: 01 June 2012 at 7:46am | IP Logged |   |  
           | 
 |  
 I am still not sure how to achieve what I want to do - can I download the message body and only attachments which are < certain size ?
 
 Regards,
 Aengus
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          The example Igor referred:
           | Posted: 03 June 2012 at 1:16am | IP Logged |   |  
           | 
 |  Envelope.GetEnvelopeItem.
 It downloads only images, you can easily adapt it to download attachments of certain size, or anything like that.
 
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  |