Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Vandella  
#1 Posted : Thursday, November 15, 2012 9:01:32 AM(UTC)
Vandella

Rank: Newbie

Groups: Registered
Joined: 11/15/2012(UTC)
Posts: 1
Location: South East England

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  
#2 Posted : Thursday, November 15, 2012 4:44:31 PM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,152

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)
Vandella wrote:
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


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?
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.039 seconds.

EXPLORE TUTORIALS

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