Vandella
  • Vandella
  • 50.75% (Neutral)
  • Newbie Topic Starter
12 years ago
Hi there, i have been using your wonderful library, for access to an imap account.. all works fine and very happy, but i was wondering if there was a way to strip the attachment from emails and send them to a specified folder.. i have been trying many different Imap librarys for this job and this seems to be the only one i can get to function correctly.. i am no expert by any means, but i seem to be getting the idea, slowly which is handy.. :-)

Thanks for your time and help in advance!
Vandella
ivan
  • ivan
  • 100% (Exalted)
  • Administration
12 years ago

Hi there, i have been using your wonderful library, for access to an imap account.. all works fine and very happy, but i was wondering if there was a way to strip the attachment from emails and send them to a specified folder.. i have been trying many different Imap librarys for this job and this seems to be the only one i can get to function correctly.. i am no expert by any means, but i seem to be getting the idea, slowly which is handy.. :-)

Thanks for your time and help in advance!
Vandella

Vandella wrote:



You can parse the Mail object to get the attachments after you used GetMail method to get the email.
Then you can use Attachment.Save method to save it to specified local folder.

Or do you want to save it to the IMAP4 folder on server?

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.