Page 1 of 1

Port 465 SSL eMail fails in Linux Shared Object

Posted: Sat Oct 16, 2021 4:36 pm
by swhite
Hi

I built a form to test email on Linux. Everything works perfectly on port 587 without SSL and on port 465 with SSL. However the same code only works with port 587 and no SSL in a Linux shared object. Port 465 and SSL always fails when run in a Linux shared object.

Simon

Re: Port 465 SSL eMail fails in Linux Shared Object

Posted: Sat Oct 16, 2021 8:13 pm
by infratec
Since I needed some time to understand what you mean ...

it fails in a with PB created library.

A library in linux is normaly stored in a file with the extension .so for shared object.

Since I can not test it at home, only an idea:
maybe the ssl library is not loaded by the PB library.

Re: Port 465 SSL eMail fails in Linux Shared Object

Posted: Sat Oct 16, 2021 8:56 pm
by swhite
Hi

Yes when I use a file with the ".so" extension (i.e. a Linux shared object) the SSL version fails. The non-SSL version works fine.

Simon

Re: Port 465 SSL eMail fails in Linux Shared Object

Posted: Sun Oct 17, 2021 6:29 pm
by infratec
Hm,

maybe you can try, as workaround, to use an Import, so that the compiler definately load the required so.

Re: Port 465 SSL eMail fails in Linux Shared Object

Posted: Sun Jul 02, 2023 9:33 am
by Fred
We need a code to investigate the issue, can you provide one ?