Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: Check size of attachments before download Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
AengusO
Newbie
Newbie
Avatar

Joined: 26 February 2010
Location: Ireland
Online Status: Offline
Posts: 22
Posted: 31 May 2012 at 8:27am | IP Logged Quote AengusO

In MailBee, is it possible to check the size of email attachments before downloading, so that I can skip attachments which are too big ?

Thanks.
Back to Top View AengusO's Profile Search for other posts by AengusO
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6089
Posted: 01 June 2012 at 1:50am | IP Logged Quote Igor

Yes, that can be done by studying message envelope obtained via IMAP, and Envelope documentation page contains a useful sample on this.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
AengusO
Newbie
Newbie
Avatar

Joined: 26 February 2010
Location: Ireland
Online Status: Offline
Posts: 22
Posted: 01 June 2012 at 7:46am | IP Logged Quote AengusO

Hi Thanks for the reply,

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 View AengusO's Profile Search for other posts by AengusO
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 03 June 2012 at 1:16am | IP Logged Quote Alex

The example Igor referred:
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 View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide