[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to receive POP mail using VB6 and save into Access MDB

Posted on 2005-05-06
5
Medium Priority
?
261 Views
Last Modified: 2013-12-25
Hi Experts

Need to be able to read and save POP email from POP server and save into Access MDB. It's the POP bit I need help with. If email has attachment, I don't want it but need to know how to deal with it.

From another solution (Q_20842674) SweatCoder sent someone some code which sounds like it could be what I need (if you are listening!!)

Hope you can help!
0
Comment
Question by:JoshuaAMS
  • 2
3 Comments
 
LVL 13

Expert Comment

by:softplus
ID: 13945210
Use a 3rd party POP object, like Easy Mail Objects from http://www.quiksoft.com - works for me. It's really easy to get the messages you need, you have full access to the message, headers, attachments. Just save the strings in a MDB, no big deal. :)
Oops: it's payware, I hope that wasn't a criteria :))
John
0
 

Author Comment

by:JoshuaAMS
ID: 13945698
Sorry, should have specified, I really would prefer not to use a third party thing and have my 'own' code running it. It's a learning thing ;-)

I have some VB experience and should be able to figure it out once I am set in the right direction, sample code etc.
0
 
LVL 13

Accepted Solution

by:
softplus earned 2000 total points
ID: 13946606
OK, then lets see ...
You should understand the POP3 protocol, it's not hard: http://www.vbip.com/winsock/winsock_pop3.asp
Then from the same site there is an example: http://www.vbip.com/winsock/winsock_mail_checker_01.asp
using the winsock.dll. Once you have the message, just save it to a db. You can play with POP3 using telnet (i.e. telnet pop3.server.com 110)
Have fun :)
John
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses

834 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