Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-16 Thread Fernando Athayde
loper List. Enviadas: Domingo, 16 de Maio de 2010 3:45:33 Assunto: Re: Res: Res: [Harbour] tipclientsmtp problem with MT Fernando, I told you to remove the password :-) From your first message: 20100514-10:05:23 :INETSENDALL( , 25, HELO ) >> 25 << From today message: 201005

Re: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread francesco perillo
Fernando, I told you to remove the password :-) >From your first message: 20100514-10:05:23 :INETSENDALL( , 25, HELO ) >> 25 << >From today message: 20100515-21:31:32 :INETSENDALL( , 35, EHLO fjsiste...@fjsistemas.com.br< cr> ) >> 35 << Since EHLO command is sent only from

Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
I MUST LEARN TO NOT POST MY PASSWORD IN PUBLIC LISTS, EVEN IF IN BASE64! I MUST LEARN TO NOT POST MY PASSWORD IN PUBLIC LISTS, EVEN IF IN BASE64! I MUST LEARN TO NOT POST MY PASSWORD IN PUBLIC LISTS, EVEN IF IN BASE64! JUSI KIDDING, I MUST CHANGE IT ASAP

Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
3 << 20100515-21:32:56 :INETRECVLINE( , , 512 ) >> 501 5.5.2 Cannot Decode response a10sm2975935anj.9 << 20100515-21:32:56 :INETERRORCODE( ) >> 0 << 20100515-21:32:56 :INETSENDALL( , 5, . ) >> 5 << 20100515-21:32:56 :INETRECVLINE( , , 512 )

Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
: Sábado, 15 de Maio de 2010 20:25:01 Assunto: Re: [Harbour] tipclientsmtp problem with MT > but with MT returns .F. very slower > > log smtp with error > 20100514-09:29:31 :INETCONNECT( smtp.gmail.com, 465 ) >>> << > > 20100514-09:29:31 :INETERRORCODE( ) >&g

Re: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Viktor Szakáts
>> ATM HB_SENDMAIL() is not working at one of my clients, >> but it works at others. The one failing is simple SMTP, >> no SSL or MT mode. HB_SENDMAIL() returns .F. Unfortunately >> I don't have logs. The build in question uses latest hbtip >> code. > > Can you please provide a minimal, self-conta

Re: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Viktor Szakáts
Hi Przemek, >> It's possible (and should fixed, just not by my eyes), but >> my suspect in this case is an MT requirement of OpenSSL, which >> isn't satisfied in hbssl. > > Yes, but it's important only for concurrent access. > It does not change anything when only single thread > access SSL cod

Re: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Viktor Szakáts
>> 20100514-09:29:42 :INETRECVLINE( , , 512 ) 220 mx.google.com ESMTP 21sm1329732yxe.15 << > > > I DON'T UNDERSTAND why is the server replaying to your QUIT message > with a 220 ! > > I have some ideas to check but I need to install openssl FWIW I've been getting that all the time, an

Re: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread francesco perillo
Viktor > ATM HB_SENDMAIL() is not working at one of my clients, > but it works at others. The one failing is simple SMTP, > no SSL or MT mode. HB_SENDMAIL() returns .F. Unfortunately > I don't have logs. The build in question uses latest hbtip > code. Can you please provide a minimal, self-contai

Re: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread francesco perillo
I will install openssl tomorrow and I will have a look. Anyway, also your "ok" logs don't show that the message is really sent... Can you please: 1) insert in gmail.prg valid username/password, compile and run it in both ST and MT mode 2) delete username and password from gmail.prg and logs and sen

Re: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread francesco perillo
> but with MT returns .F. very slower > > log smtp with error > 20100514-09:29:31  :INETCONNECT( smtp.gmail.com, 465 ) >>> << > > 20100514-09:29:31  :INETERRORCODE( ) >>>  0 << > > 20100514-09:29:41  :INETRECVLINE( , , 512 ) >>> NIL << > > 20100514-09:29:41  :INETERRORCODE( ) >>>

Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
. Enviadas: Sábado, 15 de Maio de 2010 20:09:34 Assunto: Re: Res: Res: [Harbour] tipclientsmtp problem with MT I don't have openssl installed... is it just ok to install it and point to it and rebuild harbour ? @Fernando: I did try to analyze your logs... are they complete or are some lines mi

Re: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread francesco perillo
I don't have openssl installed... is it just ok to install it and point to it and rebuild harbour ? @Fernando: I did try to analyze your logs... are they complete or are some lines missing ? If I telnet to port 465 I receive no data from the server... I also checked with a tcpdump... so it's stra

Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
erpak Para: Harbour Project Main Developer List. Enviadas: Sábado, 15 de Maio de 2010 17:21:57 Assunto: Re: Res: Res: [Harbour] tipclientsmtp problem with MT On Sat, 15 May 2010, Szak�ts Viktor wrote: Hi, > It's possible (and should fixed, just not by my eyes), but > my suspect in th

Re: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Przemysław Czerpak
On Sat, 15 May 2010, Szak�ts Viktor wrote: Hi, > It's possible (and should fixed, just not by my eyes), but > my suspect in this case is an MT requirement of OpenSSL, which > isn't satisfied in hbssl. Yes, but it's important only for concurrent access. It does not change anything when only sin

Re: Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Viktor Szakáts
>> E:\harbour_cvs\contrib\hbtip\tests>hbmk2 gmail.prg hbtipssl.hbc >> hbmk2: Processando script local: hbmk.hbm >> hbmk2: Processando arquivo de configuração: e:\harbour_gcc\bin\hbmk.cfg >> hbmk2: Processando: hbtipssl.hbc >> >> E:\harbour_cvs\contrib\hbtip\tests>gmail >> >> .T. >> >> >> >> E:

Re: Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Przemysław Czerpak
On Sat, 15 May 2010, Fernando Athayde wrote: > bur Przemek look this: [...] Don't you understand the results are in practice random due to uninitialized memory? You have .T. for ST and .F. for MT. I have .T. for both modes. Someone else can have .F. for ST and .T. for MT. It doesn't change anythin

Re: Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Viktor Szakáts
eferencing > symbols > from auto-imported DLLs. > > E:\harbour_cvs\contrib\hbtip\tests>gmail > > .F. > > Best Regards, > Fernando Athayde > > De: Przemysław Czerpak > Para: Harbour Project Main Developer List. > Enviadas: Sábado, 15 de Maio de 2010 16:39:27 >

Re: Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Pritpal Bedi
Fernando Athayde wrote: > > > E:\harbour_cvs\contrib\hbtip\tests>hbmk2 gmail.prg hbtipssl.hbc > hbmk2: Processando script local: hbmk.hbm > hbmk2: Processando arquivo de configuração: e:\harbour_gcc\bin\hbmk.cfg > hbmk2: Processando: hbtipssl.hbc > > E:\harbour_cvs\contrib\hbtip\tests>gmail >

Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
structures referencing symbols from auto-imported DLLs. E:\harbour_cvs\contrib\hbtip\tests>gmail .F. Best Regards, Fernando Athayde De: Przemysław Czerpak Para: Harbour Project Main Developer List. Enviadas: Sábado, 15 de Maio de 2010 16:39:27 Assunto:

Re: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Viktor Szakáts
Hi, >> Przemek, i was think, may be problem is the multithread support of openssl >> dll´s >> i was trying build openssl, but without success > > If non HVM thread tries to access HVM, i.e. to execute some .prg code > then it simply GPF so I do not think it's the source o your problem. > >> but

Re: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Przemysław Czerpak
On Sat, 15 May 2010, Fernando Athayde wrote: Hi, > Przemek, i was think, may be problem is the multithread support of openssl > dll´s > i was trying build openssl, but without success If non HVM thread tries to access HVM, i.e. to execute some .prg code then it simply GPF so I do not think it's

Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
Main Developer List. Enviadas: Sábado, 15 de Maio de 2010 14:51:44 Assunto: Re: Res: [Harbour] tipclientsmtp problem with MT On Sat, 15 May 2010, Fernando Athayde wrote: Hi, > i try your suggestion port 587 now on 2 examples not runs return .F. > strange with port 465 runs fine without M

Res: Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
gards Fernando De: Viktor Szakáts Para: Harbour Project Main Developer List. Enviadas: Sábado, 15 de Maio de 2010 11:35:03 Assunto: Re: Res: Res: Res: [Harbour] tipclientsmtp problem with MT > http://www.openssl.org/docs/crypto/threads.html > in a sear

Re: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Przemysław Czerpak
On Sat, 15 May 2010, Fernando Athayde wrote: Hi, > i try your suggestion port 587 now on 2 examples not runs return .F. > strange with port 465 runs fine without MT, but with MT dont´t run well > i think there is a problem with kernel mt of harbour I do not think so. best regards, Przemek _

Re: Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Viktor Szakáts
> http://www.openssl.org/docs/crypto/threads.html > in a search into dll (ssleay32 and libeay32) found threads > > you try build example gmail.prg with -mt? No. Please. I cannot solve every possible problem. Viktor ___ Harbour mailing list (attachment

Res: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
de 2010 10:15:39 Assunto: Re: Res: Res: [Harbour] tipclientsmtp problem with MT > sorry > i was search about ssl, openssl uses thread > i think that this may confuse MT in harbour It's possible, if you find anything more in this regard, pls tell us abo

Re: Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Viktor Szakáts
> sorry > i was search about ssl, openssl uses thread > i think that this may confuse MT in harbour It's possible, if you find anything more in this regard, pls tell us about it. Viktor ___ Harbour mailing list (attachment size limit: 40KB) Harbour@ha

Res: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
t; >> 0 << > > is there other way for send emails with html body in harbour ? > > Regards, > Fernando Athayde > > De: Viktor Szakáts > Para: Harbour Project Main Developer List. > Enviadas: Sábado, 15 de Maio de 2010 8:41:07 > Assunto: Re:

Re: Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Viktor Szakáts
0 << > > is there other way for send emails with html body in harbour ? > > Regards, > Fernando Athayde > > De: Viktor Szakáts > Para: Harbour Project Main Developer List. > Enviadas: Sábado, 15 de Maio de 2010 8:41:07 > Assunto: Re: [Harbour] tipclientsm

Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
t;< 20100514-09:29:42 :INETERRORCODE( ) >> 0 << is there other way for send emails with html body in harbour ? Regards, Fernando Athayde De: Viktor Szakáts Para: Harbour Project Main Developer List. Enviadas: Sábado, 15 de Maio de 2010

Re: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Viktor Szakáts
Hi, > yes the message come to the list. > > I want to say that the code of sending mails with hbtip is far from > perfect and not always follows SMTP protocol and best practices... > > Anyway, to be short, try port 587 and not 465... I can't get a proper > reply from their servers on 465 so the

Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
Project Main Developer List. Enviadas: Sábado, 15 de Maio de 2010 8:18:55 Assunto: Re: [Harbour] tipclientsmtp problem with MT yes the message come to the list. I want to say that the code of sending mails with hbtip is far from perfect and not always follows SMTP protocol and best practices

Re: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread francesco perillo
yes the message come to the list. I want to say that the code of sending mails with hbtip is far from perfect and not always follows SMTP protocol and best practices... Anyway, to be short, try port 587 and not 465... I can't get a proper reply from their servers on 465 so the connection goes tim

[Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
i am send this message without log, i want see if my message is comming in this group I have a little error yet about hbtip, if i use -mt the class hbtip not runs Example with MT: hbmk2 -mt gmail.prg hbtipssl.hbc, build perfectly but run slower and returns .F. (fail) Example without MT:

Res: [Harbour] tipclientsmtp problem with MT

2010-05-15 Thread Fernando Athayde
is my questions comming at this list group? Best Regards, Fernando Athayde De: Fernando Athayde Para: harbour@harbour-project.org Enviadas: Sexta-feira, 14 de Maio de 2010 21:59:20 Assunto: [Harbour] tipclientsmtp problem with MT sorry for send many emails

[Harbour] tipclientsmtp problem with MT

2010-05-14 Thread Fernando Athayde
sorry for send many emails, but i don´t know why was coming in my spam box, please sorry I have a little error yet about hbtip, if i use -mt the class hbtip not runs Example with MT: hbmk2 -mt gmail.prg hbtipssl.hbc, build perfectly but run slower and returns .F. (fail) Example without

[Harbour] tipclientsmtp problem with MT

2010-05-14 Thread Fernando Athayde
I have a little error yet about hbtip, if i use -mt the class hbtip not runs Example with MT: hbmk2 -mt gmail.prg hbtipssl.hbc, build perfectly but run slower and returns .F. (fail) Example without MT: hbmk2 gmail.prg hbtipssl.hbc, build perfectly run faster and returns .T. (correct)

[Harbour] tipclientsmtp problem with MT

2010-05-14 Thread Fernando Athayde
I have a little error yet about hbtip, if i use -mt the class hbtip not runs Example with MT: hbmk2 -mt gmail.prg hbtipssl.hbc, build perfectly but run slower and returns .F. (fail) Example without MT: hbmk2 gmail.prg hbtipssl.hbc, build perfectly run faster and returns .T. (correct)