Solved

Send/Read Email using Vb6.0

Posted on 2001-07-20
7
670 Views
Last Modified: 2007-12-19
 I want to write a program that will send email to my yahoo and hotmail email account.  How can i do this?

  What i want is when i run the program, i just need to type in user name, password, my email address and receiver email address to send an email.

  For retrieve email, i just need to type in user name and password, then click a button to open a web browser.

  I don't want to use things like POP, SMTP..  is it possible?

 Please give me the coding. Thanks.
0
Comment
Question by:yongyih
7 Comments
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6304192
Hum, difficult...
0
 
LVL 2

Author Comment

by:yongyih
ID: 6304239
I know its difficult but i think it's possible because i saw some software can do it.  I just not sure whether VB6.0 can do it or not.

If cannot read the content of email, just read the header of email also acceptable. ^^

If can get the reply from yahoo or hotmail web server and pass the reply to IE or netscape.  May be its easier.

Actually i ask this question in Java already.  Someone reply it but i cannot compile the code sucessfully.
0
 
LVL 13

Accepted Solution

by:
samic400 earned 100 total points
ID: 6304513
It can be done because I've written a similiar program in VB. The easiest way is to use the winsock.dll and with a little understanding of the SMTP and POP3 protocols, you can do it!
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 2

Author Comment

by:yongyih
ID: 6304708
Can you give me the coding?
0
 
LVL 2

Author Comment

by:yongyih
ID: 6308485
I know can use MAPI control to send/read email but need email software like Microsoft exchange..

Any idea?
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6310251
Hotmail/Outlook express gives you the chance to configure an account to receive-send mails. There is a library to manage Outlook objects but i don't remember until which version of IE (sure not for 5.5)
0
 

Expert Comment

by:Emin
ID: 7529630
It is really easy, just using a combination of a serverside script and MSINET.OCX
you create a form mailer, for example with php
then connect to that url with the message to be sent as a parameter
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

Suggested Solutions

Title # Comments Views Activity
Validating VB6 Function 19 68
VB6 Compile Compatibility Issue 4 123
Help me. 3 71
how to Classify of email (pdf attachments) 7 50
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

726 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