Re: [Harbour] Please try this sendmail patch

2009-11-21 Thread Viktor Szakáts
Hi Francesco, > Viktor, I DID try to just raise timeouts and I did some more tests. > > My MTA is exim and it is very "strict" on the protocol. > > Try to issue this command: > telnet 25 > and you will get a > "220 message" > and ONLY IN THIS MOMENT you can issue commands ! > > Exim doesn't ac

Re: [Harbour] Please try this sendmail patch

2009-11-21 Thread francesco perillo
Viktor, I DID try to just raise timeouts and I did some more tests. My MTA is exim and it is very "strict" on the protocol. Try to issue this command: telnet 25 and you will get a "220 message" and ONLY IN THIS MOMENT you can issue commands ! Exim doesn't accept any command before the 220 is se

Re: [Harbour] Please try this sendmail patch

2009-11-21 Thread Viktor Szakáts
Hi Francesco, > If it works for you or doesn't, please test this patch in > contrib\hbtip and report. The additional two GetOK() calls don't look correct to me, first of all because they happen right after opening the connection when no request has been sent out to SMTP server yet. Second bec

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread francesco perillo
At the moment I tried hb_sendmail against exim without any form of authentication, just plain old clear-text smtp I will try Qmail and other servers this evening but I have to remove the patch first... The "problem" is that hb_sendmail() sends the EHLO or HELO command without waiting for the 2

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread Lorenzo Fiorini
On Sat, Nov 21, 2009 at 12:30 AM, francesco perillo wrote: > Is anybody using hb_sendmail() ? I already said that it is not fully > smtp protocol compliant and my tests (trunk compiled with bcc) > didn't worked at all due to this incoorect protocol implementation I use it in all my apps

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread Viktor Szakáts
gmail SMTPS servers are perfect for testing. Brgds, Viktor On 2009 Nov 21, at 03:15, Bruno Luciani wrote: > Try this > > http://www.e-eeasy.com/SMTPServerList.aspx > > Bruno > > 2009/11/20 francesco perillo > gmail only supports SSL mail or TLS on port 25... in my bcc setup I > don't have op

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread Bruno Luciani
Try this http://www.e-eeasy.com/SMTPServerList.aspx Bruno 2009/11/20 francesco perillo > gmail only supports SSL mail or TLS on port 25... in my bcc setup I > don't have openssl so I can't connect to gmail (at the moment) > > Do you have a server you connect without authentication on port

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread Bruno Luciani
May be BLAT ? Bruno 2009/11/20 francesco perillo > gmail only supports SSL mail or TLS on port 25... in my bcc setup I > don't have openssl so I can't connect to gmail (at the moment) > > Do you have a server you connect without authentication on port 25 for > mail delivery ? Does it work f

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread Bruno Luciani
My server uses TLS But you can' t use it , it is blocked for all IP' s I only can Send Mail from My Public and Fixed IP It is an antispam protection , sorry about that Bruno 2009/11/20 francesco perillo > > I am not using SSL > > I use it in windows in an OOHG aplication , and compiled usin

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread francesco perillo
gmail only supports SSL mail or TLS on port 25... in my bcc setup I don't have openssl so I can't connect to gmail (at the moment) Do you have a server you connect without authentication on port 25 for mail delivery ? Does it work for you ? Standard timeout is 1 second... gmail is quick but..

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread francesco perillo
> I am not using SSL > I use it in windows in an OOHG aplication , and compiled using Mingw ok > > hb_sendmail('200.xxx.xxx.xxx',,'f...@domain',{'adre...@domain','adre...@domain'},,,cuerpo,'Cierre > de caja') Is it possible to have (in private mail) the IP of the server and an address I can send

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread Bruno Luciani
I am not using SSL I use it in windows in an OOHG aplication , and compiled using Mingw function sendcaja(cuerpo) if hb_sendmail('200.xxx.xxx.xxx',,'f...@domain',{'adre...@domain ','adre...@domain'},,,cuerpo,'Cierre de caja') else msginfo("No se pudo contactar el servidor de correo ","

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread Viktor Szakáts
With SSL (gmail) I used to experience some instability in sending process. Sometimes it doesn't "catch it". Maybe timeout issue. I don't use hbtip mail for anything critical ATM, so I just didn't care to spend another big chunk of time to get to the end of it. Brgds, Viktor On 2009 Nov 21, at

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread francesco perillo
Hi Bruno, thank you for your reply. I have some ideas ... can you please show me how do you call hb_sendmail() ? can you please compile and run contrib/hbtip/tests/gmail.prg (after changing the data inside) and run it ? Which are your operating system and compiler used ? Thank you Francesco __

Re: [Harbour] Please try this sendmail patch

2009-11-20 Thread Bruno Luciani
Francesco Actually I use HB_Sendmail from svn and works ok Bruno Luciani 2009/11/20 francesco perillo > Is anybody using hb_sendmail() ? I already said that it is not fully > smtp protocol compliant and my tests (trunk compiled with bcc) > didn't worked at all due to this incoorect protoco

[Harbour] Please try this sendmail patch

2009-11-20 Thread francesco perillo
Is anybody using hb_sendmail() ? I already said that it is not fully smtp protocol compliant and my tests (trunk compiled with bcc) didn't worked at all due to this incoorect protocol implementation So, if you are using this patch and it works ok for you, please tell me ! If it works for