20210604-09:43:02 :INETERRORCODE( B43C740 )B43C740 <<
20210604-09:43:02 :INETSENDALL( B43C740, 25, HELO csauf@......de )0 <<
20210604-09:43:02 :INETRECVLINE( B43C740, , 512 )25 <<
20210604-09:43:02 :INETERRORCODE( B43C740 )NIL <<
10054 <<
Michael
The LIBs you are linking only support TLS up to ver 1.1
You should link LibCrypto.lib and LibSSL.lib included in last OpenSSL version, and have libcrypto-1_1.dll and libssl-1_1.dll available to your exe file (these support up to last TLS version)
Regards
Claudio H
Hello Claudio,
thank you for your answer!
instead of linking
[C:\xHb\Lib\TipSSL.lib]
[C:\xHb\Lib\libeay32.lib]
[C:\xHb\Lib\ssleay32.lib]
now linking
[C:\xHb\Lib\libcrypto.lib]
[C:\xHb\Lib\libssl.lib]
(and using the -1_1.dlls)
but when try to send a email with hb_sendmail, there is a errormessage (using old libs, it works)
Hi,
maybe the hb-sendmail function (or the whole tip-source) is to old.
Do i have the correct lib files?
libssl.lib size is 1382366 Bytes
libcrypto.lib is 5012232 Bytes
Il 04/06/2021 10:10, Michael Hagl ha scritto:
Hello Claudio,
thank you for your answer!
instead of linking
[C:\xHb\Lib\TipSSL.lib]
[C:\xHb\Lib\libeay32.lib]
[C:\xHb\Lib\ssleay32.lib]
now linking
[C:\xHb\Lib\libcrypto.lib]
[C:\xHb\Lib\libssl.lib]
(and using the -1_1.dlls)I'm not sure, bu I think you have to rebuild xHarbour with the new
but when try to send a email with hb_sendmail, there is a errormessage (using old libs, it works)
OpenSSL directory installed. If this is true, you have to ask xHarbour.com.
EMG
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
Michael
You have to use a newer TipSSL.lib than the obsolete one provided by xharbour.com in it's last build.
I took it from Mel's site for PellesC 32 bits version and works flawlessly.
Regards
Claudio H
Michael
You have to link these and in this exact order, and DO NOT include tip.lib :
tipssl.lib 29/10/2020
libcrypto.lib 21/04/2020
libssl.lib 21/04/2020
xhb.lib 14/03/2017
(dates are from the ones I'm using, anyone after them should work)
Your exe is not asking for the DLLs because when linking tip.lib before tipssl.lib the methods using ssl/tls routines are not included.
Claudio H
Michael
Don't know which xhb.com's build you are using, but just in case compile and link all the PRGs from xharbour.org's contrib\tipssl
Regards
Claudio H
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 113 |
Nodes: | 8 (1 / 7) |
Uptime: | 26:50:07 |
Calls: | 2,498 |
Files: | 8,649 |
Messages: | 1,905,707 |