?
Solved

Send/Read Email using Vb6.0

Posted on 2001-07-20
7
Medium Priority
?
684 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 400 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
Technology Partners: 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!

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month15 days, 9 hours left to enroll

741 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