Solved

How to download an email from internet

Posted on 2001-06-22
8
195 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
 
LVL 1

Expert Comment

by:levr
ID: 6224646
thanks, will follow. lev
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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 some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

929 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now