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" <ad******@thedebtmediator.com> wrote in message
news:OL**************@tk2msftngp13.phx.gbl...
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.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2j*************@uni-berlin.de... * "Ajit" <ad******@thedebtmediator.com> scripsit: 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'?
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>