Results 1 to 4 of 4

Thread: I need code which can connect to POP3

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2001
    Location
    www.alexdata.com
    Posts
    484

    Exclamation 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
    ***************

  2. #2
    If you're really new you probably should start with something extremely simple. But here's a POP3 tutorial. http://vbsquare.com/internet/pop/

  3. #3
    Fanatic Member
    Join Date
    Aug 2001
    Posts
    746
    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.

  4. #4
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Brooklyn NY USA
    Posts
    1,258
    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
  •  



Click Here to Expand Forum to Full Width