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
Hi Claudio,
sorry for delay!
I will do some tests the next days
Michael Hagl
Claudio H schrieb am Dienstag, 8. Juni 2021 um 23:02:43 UTC+2:
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
Op vrijdag 11 juni 2021 om 13:12:43 UTC+2 schreef Michael Hagl:work.
Hi Claudio,
sorry for delay!
I will do some tests the next days
Michael Hagl
Claudio H schrieb am Dienstag, 8. Juni 2021 um 23:02:43 UTC+2:
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
Hi Michael,Regards
Claudio H
Did you manage to send email? I cannot send e-mail from my application to the smtp servers of Google and Outlook, for example with T-mobile it works fine. I've seen that there is an improved version of xHB.com TipSSL available but I can't get it to
Thank you in advance for your reply.
Paul
Paul schrieb am Montag, 7. August 2023 um 15:29:26 UTC+2:work.
Op vrijdag 11 juni 2021 om 13:12:43 UTC+2 schreef Michael Hagl:
Hi Claudio,
sorry for delay!
I will do some tests the next days
Michael Hagl
Claudio H schrieb am Dienstag, 8. Juni 2021 um 23:02:43 UTC+2:
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
Hi Michael,Regards
Claudio H
Did you manage to send email? I cannot send e-mail from my application to the smtp servers of Google and Outlook, for example with T-mobile it works fine. I've seen that there is an improved version of xHB.com TipSSL available but I can't get it to
Thank you in advance for your reply.Hi Paul,
Paul
sorry for delay.
I never used the smtp server of google or outlook.
Now I have created a gmail account for testing with my xHb.
But does not work with gmail
Sorry I cannot help you
mit freundlichen Grüßen
Michael Hagl
Op dinsdag 8 augustus 2023 om 10:36:01 UTC+2 schreef Michael Hagl:work.
Paul schrieb am Montag, 7. August 2023 um 15:29:26 UTC+2:
Op vrijdag 11 juni 2021 om 13:12:43 UTC+2 schreef Michael Hagl:
Hi Claudio,
sorry for delay!
I will do some tests the next days
Michael Hagl
Claudio H schrieb am Dienstag, 8. Juni 2021 um 23:02:43 UTC+2:
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
Hi Michael,Regards
Claudio H
Did you manage to send email? I cannot send e-mail from my application to the smtp servers of Google and Outlook, for example with T-mobile it works fine. I've seen that there is an improved version of xHB.com TipSSL available but I can't get it to
Thank you in advance for your reply.Hi Paul,
Paul
sorry for delay.
I never used the smtp server of google or outlook.
Now I have created a gmail account for testing with my xHb.
But does not work with gmail
Sorry I cannot help you
mit freundlichen Grüßen
Michael HaglOK, sorry but thanks for your answer.
Paul
Hi Paul,
Use tipSSL with last OpenSSl libs and DLLs ( libssl-1_1 and libcrypt-1_1 ) on port 587
You have to create a separate app-password in you're google account
which allows sending, using you're normal mail password won't work.
https://support.google.com/accounts/answer/185833?hl=en
regards,
Richard
Op dinsdag 8 augustus 2023 om 16:54:49 UTC+2 schreef Paul:to work.
Op dinsdag 8 augustus 2023 om 10:36:01 UTC+2 schreef Michael Hagl:
Paul schrieb am Montag, 7. August 2023 um 15:29:26 UTC+2:
Op vrijdag 11 juni 2021 om 13:12:43 UTC+2 schreef Michael Hagl:
Hi Claudio,
sorry for delay!
I will do some tests the next days
Michael Hagl
Claudio H schrieb am Dienstag, 8. Juni 2021 um 23:02:43 UTC+2:
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
Hi Michael,Regards
Claudio H
Did you manage to send email? I cannot send e-mail from my application to the smtp servers of Google and Outlook, for example with T-mobile it works fine. I've seen that there is an improved version of xHB.com TipSSL available but I can't get it
Thank you in advance for your reply.Hi Paul,
Paul
sorry for delay.
I never used the smtp server of google or outlook.
Now I have created a gmail account for testing with my xHb.
But does not work with gmail
Sorry I cannot help you
mit freundlichen Grüßen
Michael HaglOK, sorry but thanks for your answer.
Paul
Hi Paul,
For using outlook use port 587 then ( tipSSL ) opensecure(.F) with autologin and secure login .
Regards,
Richard
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 251 |
Nodes: | 16 (2 / 14) |
Uptime: | 70:28:14 |
Calls: | 5,561 |
Calls today: | 4 |
Files: | 11,680 |
Messages: | 5,122,611 |