|
-
Oct 14th, 2001, 01:38 PM
#1
Thread Starter
Hyperactive Member
I need code which can connect to POP3
Hey...everyone...
I need some code which can do the following:
-connect to a POP3 email account (with user/pass)
-check for NEW messages
and if ANY then it OPENS a MsgBox
with "@adress from" and "subject"
-It will have to auto connect to POP3 account every
1,3 or 5min....
-would been great if it could have a .ini file
for my username and pass....
But I need this explained simple, absic as Im VERY new to VB
hopefully code to cut and paste...
Please keep it simple..
Like a from with two txt fields and a button
Which keeps "hanging" on the screen...
If i press the button, it checks for mails
If i don't ...it checks for mails every XX minute...
A mega thanks in advance....
***************
Please use [highlight=vb] ..your code.. [/highlight] when posting code!
When you have received the working answer to your question,
please mark it as *SOLVED* + Your Questions Title ...using your Thread's Tool menu.
Also try to point out what answer made it work for you, or edit your first post to contain a quote of the correct answer...
Please Answer All Questions With Working Code Examples...
My Unfinished Projects and My working Programs
***************
-
Oct 14th, 2001, 01:46 PM
#2
Member
If you're really new you probably should start with something extremely simple. But here's a POP3 tutorial. http://vbsquare.com/internet/pop/
-
Oct 14th, 2001, 05:33 PM
#3
Fanatic Member
if u know how to use winsock then all u have to do is send the following data
USER username
PASS pass
if the password is correct then
LIST - tells u how many messages u have, and how long each one is.
then send the number of a message to recieve it.
-
Oct 14th, 2001, 07:04 PM
#4
Frenzied Member
Originally posted by filburt1
If you're really new you probably should start with something extremely simple. But here's a POP3 tutorial. http://vbsquare.com/internet/pop/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|