?
Solved

How to download an email from internet

Posted on 2001-06-22
8
Medium Priority
?
205 Views
Last Modified: 2013-11-13
I need to get the information contained in the body of a email from Vb. Like do I make in order to download the message from a internet email server and get the body of the message?

Thank you for the aid that you could give me.

Mauro Badalacchi R.
0
Comment
Question by:mbrlaser
8 Comments
 
LVL 2

Expert Comment

by:Microsoft
ID: 6220074
have a LQQK at this code

I don't know if its anygood for you but its worth a look

cheers

http://www.planetsourcecode.com/xq/ASP/txtCodeId.7988/lngWId.1/qx/vb/scripts/ShowCode.htm

hope this helps

Andy

0
 
LVL 1

Expert Comment

by:levr
ID: 6220077
' first you need to connect to the server
    Set oSess = GetObject(, "mapi.Session")
    If oSess Is Nothing Then Set oSess = GetObject("", "mapi.Session")
    oSess.Logon profileName:="email_profile")

' then you can access your Inbox message collection
    For Each oMess In oSess.Inbox.Messages
     oMess.Name
     oMess.Text
   Next
0
 
LVL 5

Expert Comment

by:gbaren
ID: 6220795
levr,

You are very new, I see. On EE, experts choose to post comments only. We never propose an answer because that locks the question. The asker, unless a newbie too, will always reject any answer proposed.

gbaren
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Expert Comment

by:levr
ID: 6224646
thanks, will follow. lev
0
 

Author Comment

by:mbrlaser
ID: 6232946
Levr thank you, I am going to make some tests but I would like to receive another options.
0
 

Author Comment

by:mbrlaser
ID: 6232999
Levr thank you, I am going to make some tests but I would like to receive another options.
0
 
LVL 2

Accepted Solution

by:
BozzoCage earned 800 total points
ID: 6360868
Check this out:
Mail Checker Sample Application
http://www.vbip.com/winsock/winsock_mail_checker_01.asp

It does just what you need - directly connects to pop3 server and works with email just what you want.

It has also nice explanations of POP3 protocol,...

Regards,
  BozzoCage
0
 

Author Comment

by:mbrlaser
ID: 6373712
Thank you, with this information could make my application.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Suggested Courses
Course of the Month15 days, 20 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question