FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour testpop.prg
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
testpop.prg
Posted: Fri Nov 14, 2008 11:19 AM

I'm trying testpop.prg but I get no error message (connection succesful) and no received messages. What am I missing?

EMG

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
testpop.prg
Posted: Fri Nov 14, 2008 01:17 PM

Are you really referring to TestPop.Prg ? This program in samples folder is only for "Testing Popup Menus in FiveWin" and does not connect to anything. TestPop.Prg demonstrates the popupmenu as intended. Are you referring to some other program or am I missing something ?

Regards



G. N. Rao.

Hyderabad, India
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
testpop3.prg
Posted: Fri Nov 14, 2008 03:40 PM

Sorry, it was testpop3.prg

EMG

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
testpop.prg
Posted: Fri Nov 14, 2008 04:26 PM
Enrico,

Maybe these old messages will help.

Regards,
James

Falconi Silvio escribió en mensaje <3ae462d1@servidor3a.dimasoft.es>...

>I COMPILED AND LINKED TESTPOP3.PRG
>
> I insert this line :
>
> oInMail = TPop3():New( "mail server",, "myuser", "mypass" ) // mail server IP
>
>
>1. Mail server can I use also the name of my provider example
> www.supereva.it )
> My mail server is webmail.supereva.it
>2 my user My code user
>3. MY pass My pass of my post email
>
> I proved this program but the program not run :
>the program not create error but I not saw any messages
>How can I do to see the messages .....and put it on a databases ?
>Have you an example ?

-----------------------------------

From: "Mariano Triñanes" <mariano@sistemahalley.com.ar>
Subject: Re: TPOP3 CLASS
Date: Monday, April 23, 2001 1:02 PM

Hi,

As you told, you passed www.supereva.it as a parameter, you must resolve it to ip address first, using Gethostbyname function. By the way, are you sure www.supereva.it host is offering pop services and not webmail?

How do you resolve it? easy

if WsaStartup() == 0
  cIp := gethostbyname("yourhost.com")
   WsaCleanUp()
endif


and cIP variable, is the one you must use...
The username and password of course, are the ones that you use, in string format.

Cheers
mariano
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
testpop.prg
Posted: Fri Nov 14, 2008 04:33 PM

Thank you, James, but I already use the IP address of my POP3 server.

EMG

Continue the discussion