I suspect this won't work because these services require SSL. wwPop3 doesn't support SSL connections. Only the wwSmtp component supports SSL at this point.
+++ Rick ---
I downloaded the latest client tools and copied code from wwpop3 to download email from gmail, or hotmail, or yahoo.
I get a connection timeout error every time. What am I missing?
Here is the sample code I extracted:
#INCLUDE wconnect.h
SET PROCEDURE TO wwPOP3 ADDITIVE
SET PROCEDURE TO wwUTILS additive
SET PROCEDURE TO wwAPI ADDITIVE
SET PROCEDURE TO wwSocket ADDITIVE
loPOP = CREATEOBJECT("wwPOP3")
loPop.cMailServer = "mail.someserver.com"
loPop.cUserName = "test"
loPop.cPassword = "password"
*** Optional settings
*** Create a log string
*loPop.lLogSession = .T.
loPop.nTimeout = 15 && Seconds
loPop.nBufferSize = 1024
IF !loPOP.Connect()
MESSAGEBOX("Error connecting. Error#=" + ALLTRIM(STR(loPop.nError)) + ". '" + loPop.cErrorMsg + "'")
? loPop.nError,loPop.cErrorMsg
RETURN
ENDIF
MESSAGEBOX("#Messages=" + STR(loPop.nMessageCount))
? loPop.Getmessages() && High level routine
x=1
loPop.quit()