Solved

How to download an email from internet

Posted on 2001-06-22
8
196 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
allswap challenge 6 96
to transfer string from C lanaguage to VBA 4 64
Problem to With line 4 57
Work with App store 7 52
Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

776 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