Gmail configure specification states the following:
Incoming Mail (POP3)Server - requires SSL:
Pop: pop.gmail.com
Use SSL: Yes
Port: 995
I cannot connect to gmail pop server using cPOP class and I guess the
reason is that there is no way to pass to the oPOP object the SSL=TRUE
property. Geoff has confirmed me that the only Secure Socket property
in Internet Lib is secureSMTP and only applies to cSMTP class.
I´d like to know if someone else has found the same problem with Gmail
and if is there a solution for it.
TIA
Ernesto
I've had another think about this. I don't think it is the responsibility of
the class to do what you are suggesting. The STMP setting has no influence
on the server, it merely repackages the first command sent and also supplies
the user name and password. There are no class 'properties' passed on to the
server.
So, you need to do your home work first. What do the RFC's state about
secure POP? I suspect very little. In which case what you need to know from
your ISP (or GMail) is what are the communications protocols for contacting
the server. Also, are you using the correct address for the server? Perhaps
it needs to be connected on https?
The first call is a connect on an IP number and port. Assuming your firewall
is allowing it, what is the response you get back right at this point? Can
you confirm the error message or response please? Assuming this is ok (and I
can't see why it wouldn't), all that happens next is that you need to have a
dialog with the server to exchange user name and password.
Certainly there is nothing flash in the socket class to then deal with loca
encryption to the mail server but assuming you opened a secure socket
locally it should work. Now how you do that locally with the socket class I
have no idea. Have you asked Robert? Perhaps you need to set up the local
SSL port first?
Willie - do you know anything about opening SSL ports with the socket class?
Geoff
"Ernesto" <emi...@ciudad.com.ar> wrote in message
news:1141598977....@u72g2000cwu.googlegroups.com...
Hi fellows,
Gmail configure specification states the following:
Incoming Mail (POP3)Server - requires SSL:
Pop: pop.gmail.com
Use SSL: Yes
Port: 995
I cannot connect to gmail pop server using cPOP class and I guess the
reason is that there is no way to pass to the oPOP object the SSL=TRUE
property. Geoff has confirmed me that the only Secure Socket property
in Internet Lib is secureSMTP and only applies to cSMTP class.
I悲 like to know if someone else has found the same problem with Gmail
> The first call is a connect on an IP number and port. Assuming your firewall
> is allowing it, what is the response you get back right at this point? Can
> you confirm the error message or response please?
There is no Firewall in my PC and with Eudora 6.2 I can connect to
gmail to check or send mails without trouble.
Internet LIB: Following the flow with the debugger at
oSocket:Conect(cIP, nPort) I can verify the Port is the specified=995
and IP=64.233.185.111 (from pop.gmail.com). Then in Method
__ConnectThread() of cSocket...
nWait := SELF:nTimeOut
phT := CreateVOThread(0, 0, @__ConnectFunc(), @condata,
THREAD_TERMINATE, @dwID)
WaitForSingleObject(phT, nWait)
IF condata.nRC = SOCKET_ERROR
SELF:Error := WSAGetLastError()
IF SELF:Error = 0
>>>>>>> THIS IS THE ERROR I GET
SELF:Error := WSA_WAIT_TIMEOUT
ENDIF
SELF:nCurrentStatus := SSTAT_DISCONNECTED
cMsg := "Connection failed "
...............................
The returned error is TIMEOUT, but I have tried increasing nWait up to
50000 for instance and nothing changes.
I hope this info help you or someone else to figure out what could be
happening
By the way, have you tried to set the gamail account I passed to you
into your VO email client and see what happen. Maybe it works OK and
then the problem is something wrong in my system. Please try it.
Anyone can try it, the acc is:
>>>> Address: cavo...@gmail.com
>>>> Password: cavo27b
TIA
Ernesto
Geoff Schaller ha escrito:
> I´d like to know if someone else has found the same problem with Gmail
I can't try it until I get these ports opened up on my ISA server sorry. I
meant to try it last week but forgot. I'll try to remember again this week
when the office staff come back. But my only other issue is that I don't
know what specifies a secure port on this end so I need to find that out
first
Geoff
"Ernesto" <emi...@ciudad.com.ar> wrote in message
news:1142112468.0...@j52g2000cwj.googlegroups.com...
I will remind you <g>
I am waiting for a response from gmail tech team, but it doesn´t seem
to be so easy.
Regards
Just to remind you to test email client with gmail whenever you can
TIA
Ernesto