Move Attachments to a Folder Using System.Web.Mail

  • Thread starter Thread starter Ajit
  • Start date Start date
A

Ajit

Is there anyway to move attachments from a incoming email
into a specified folder using System.Web.Mail ?

has anyone done this ?

Any help is appreciated.
 
* "Ajit said:
Is there anyway to move attachments from a incoming email
into a specified folder using System.Web.Mail ?

What code did you use to check for incoming mails using
'System.Web.Mail'?
 
I am so sorry for no clarifying my q very clearly.

Checking Incoming Email and/or with attachment and moving to a folder is
also part of the q.

Basically, my q start from checking incoming email to moving attachment
files to a folder.
 
I've been playing with this a lot recently.
Short answer is forget about System.Web.Mail.
There are a number of third party mail components that will greatly simplify
this process.
I had listed them in the question "POP3 Component Comparison" dated 6-15-04
(Which sadly I got no response to).
A list of just a few of the components I'm looking at are:
Mail.Net - www.abderaware.com
EasyMail.Net - www.quiksoft.com
IP*Works - www.nsoftware.com
Internet Mail - www.catalyst.com

The EasyMail one even has a couple samples that will pull mail from a server and
write directly to a file.

Gerald

Ajit said:
I am so sorry for no clarifying my q very clearly.

Checking Incoming Email and/or with attachment and moving to a folder is
also part of the q.

Basically, my q start from checking incoming email to moving attachment
files to a folder.
 
Hi Herfried,

Thanks for the link it was of great help.

I managed to read the emails using POP3 and TCPclient
but is there anyway i can download attachements to a specific folders

has anyone done this or is there anyother way to this ?

We are against using 3-party components
 
* "Ajit said:
Thanks for the link it was of great help.

I managed to read the emails using POP3 and TCPclient
but is there anyway i can download attachements to a specific folders

has anyone done this or is there anyother way to this ?

Attachments are embedded in the data your receive. All you need is a
MIME decoding routine that splits up the message into its
parts/attachments.
 
Hi Herfried,

I am trying hard to find some tips to write MIME decoding routine but no
lucky.
do you know/have any tips or routine avaliable that can help me to seperate
Attachments from the emails.

I appreciate your help.

regards,

Ajit.
 
Back
Top