Results 1 to 2 of 2

Thread: Vb & pop3

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2009
    Posts
    4

    Vb & pop3

    Hi all,
    I'm trying to get my emails through winsock control. My account is in gmail server i.e. pop.gmail.com. I also know its pop port - 995. Socket is connecting the server fine but the server not throwing any initial greeting, neither +OK nor -Err. But the pop server for mail.com sending me the response immediately as soon as I connect. Is this for ssl security of gmail.com, rediffmail.com or yahoo.com or what? Do I need to send any certificate to the server in advance after I get connected? The code -

    Button Code --------------------------
    WS.protocol = sckTCPProtocol
    WS.RemoteHost = "pop.gmail.com"
    WS.RemotePort = 995
    WS.Connect
    DataArrival Code ----------------------
    Dim sData As String
    WS.GetData sData
    Debug.Print sData

    I'm not being able to send my UID/PWD because no greeting is sent through DataArrival.

    But in case of mail.com the immediate window shows the following text -
    (pop1.mail.com/110 here)

    +OK OBMail POP3 server ready <[email protected]>

    My local IIS POP3 also responding well with -

    +OK Microsoft Windows POP3 Service Version 1.0 <7052984@pradip-w2k3s> ready.

    Please help

  2. #2
    Member
    Join Date
    Aug 2002
    Posts
    58

    Re: Vb & pop3

    Because gmail uses SSL you won't have luck with the traditional telnetting of pop servers.
    -------------------------------
    StupidMonkee

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