• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 208
  • Last Modified:

How to download an email from internet

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
mbrlaser
Asked:
mbrlaser
1 Solution
 
MicrosoftCommented:
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
 
levrCommented:
' 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
 
gbarenCommented:
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
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
levrCommented:
thanks, will follow. lev
0
 
mbrlaserAuthor Commented:
Levr thank you, I am going to make some tests but I would like to receive another options.
0
 
mbrlaserAuthor Commented:
Levr thank you, I am going to make some tests but I would like to receive another options.
0
 
BozzoCageCommented:
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
 
mbrlaserAuthor Commented:
Thank you, with this information could make my application.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now