Well, essentially you should read up on Outlook interop. A quick
Google will give you a few of the basics and you can map out what you
want to do.
Basically the process is:
Create an Outlook object
Login to Outlook
Create a folder to the Inbox or work through the public folders.
Within each folder, you can set the array of emails mail equal to an
Outlook MailItem object and this will give you access to the .Body of
the email. Attachments are an array, although I found that the built
in Outlook obj could only handle a few types of attachments.
I ended up using a freeware mail object called *Redemption" for complex
document attachments and attachments of attachments.
Miguel Arenas wrote:
Yes that is what I'm looking for.
"John A. Bailo" wrote:
I wrote a Windows service that does exactly that -- it reads an Outlook
mailbox, iterates through the emails and parses information from the
body and reads attachments. It's in c# and uses Outlook interop.
Is that what you want to do?
What do you want to know?
Miguel Arenas wrote:
In vb.2003 I sent automated e-mails, but now I need to read e-Mail and
attachment s what can I do ?
or somebody know where can I find some code to do that.
Thansk.