Solved

How to download an email from internet

Posted on 2001-06-22
8
198 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Technology Partners: 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 200 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

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!

Question has a verified solution.

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

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

733 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