Read E-mails.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Miguel Arenas

    Read E-mails.

    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.
  • PollyAnna

    #2
    RE: Read E-mails.



    "Miguel Arenas" wrote:
    [color=blue]
    > 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.[/color]

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

    Polly Anna

    Comment

    • John A. Bailo

      #3
      Re: Read E-mails.


      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:[color=blue]
      > 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.[/color]

      Comment

      • Miguel Arenas

        #4
        Re: Read E-mails.

        Yes that is what I'm looking for.

        "John A. Bailo" wrote:
        [color=blue]
        >
        > 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:[color=green]
        > > 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.[/color]
        >
        >[/color]

        Comment

        • John A. Bailo

          #5
          Re: Read E-mails.


          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:[color=blue]
          > Yes that is what I'm looking for.
          >
          > "John A. Bailo" wrote:
          >
          >[color=green]
          >>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:
          >>[color=darkred]
          >>>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.[/color]
          >>
          >>[/color][/color]

          Comment

          • Supra

            #6
            Re: Read E-mails.


            regards,


            Miguel Arenas wrote:
            [color=blue]
            >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.
            >
            >[/color]

            Comment

            Working...