Read E-mails.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In vb.2003 I sent automated e-mails, but now I need to read e-Mail and
attachments what can I do ?

or somebody know where can I find some code to do that.
Thansk.
 
Miguel Arenas said:
In vb.2003 I sent automated e-mails, but now I need to read e-Mail and
attachments what can I do ?

or somebody know where can I find some code to do that.
Thansk.

Hi Miguel, I have just posted a query asking the same thing. Hope somebody
is kind enough to help us.

Polly Anna
 
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?
 
Yes that is what I'm looking for.

John A. Bailo said:
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?
 
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.
 
Back
Top