[fpc-pascal] Dependency of OpenSSL 1.0.2 still in FPC 3.2.0 on some platforms?

Bo Berglund bo.berglund at gmail.com
Mon May 10 20:16:52 CEST 2021


On Mon, 10 May 2021 13:11:26 +0200, Bo Berglund via fpc-pascal
<fpc-pascal at lists.freepascal.org> wrote:

>Slowly wrapping my head around Synapse, never used it before. I have used Indy
>on Delphi since 20 years or so and continued that path on FreePascal/Lazarus.
>But it does not handle openssl above 1.0.2.... :(
>
I have now sent test emails successfully both from my Windows 10 PC where I test
the Synapse system and an RPi4 system where I develop the server side code.
(Using the exact same source code just building on Windows vs Linux)

I used the SendToRaw() example function in smtpsend as a template for my scaled
down test function
It somehow found OpenSSL by itself even though I have not supplied any dll:s as
needed with the Indy10 SSL emailing on Windows.
On Linux I expect it used the standard ways to find Openssl and used that.

So I will continue down this path, next thing is to supply an attachment file
too...

Question on Synapse SMTP:
Is there any way Synapse will generate an exception if something goes wrong, or
is the boolean Result the only way to see if something bad happened?
Can one see some error message if it fails?


-- 
Bo Berglund
Developer in Sweden



More information about the fpc-pascal mailing list