Re: [fpc-pascal] Dependency of OpenSSL 1.0.2 still in FPC 3.2.0 on some platforms?
Dne 05.06.2021 v 22:04 Bo Berglund via fpc-pascal napsal(a): > Yes, I ditched Indy10 for smtp emailing and instead used Synapse 40.1 > from the OnLinePackageManager in Lazarus. I am not sure what is mean by "Synapse 40.1" and how OnlinePackageManager working, because Synapse itself leave this numbering before years and most recent version of Synapse is available on SVN only. And this most recent version have new SSL plugin called ssl_openssl11 with support for OpenSSL 1.1.1. Remark: Synapse is not component and not need to be installed by OnlinePakageManager/GetIt in Lazarus/Delphi. Just place Synapse's sources somewhere, where your project "see it". Lukas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Dependency of OpenSSL 1.0.2 still in FPC 3.2.0 on some platforms?
Dne 17.05.2021 v 22:06 Bo Berglund via fpc-pascal napsal(a): > > And that is what I have done, it is listed in uses of my mailsupport source > file > as: > uses >Classes, >SysUtils, >smtpsend, >ssl_openssl, //<= Here >synautil, >mimemess, >mimepart; > > Yet it is "not compiled"... > > Very confusing. > It is because loading of ssl_openssl plugin failed. Have you installed OpenSSL libraries on your RPi? Check function |InitSSLinterface in ssl_openssl_lib unit. I personally never test ssl_openssl on RPi, maybe some error is here.| |Lukas. | ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Dependency of OpenSSL 1.0.2 still in FPC 3.2.0 on some platforms?
Dne 13.05.2021 v 12:38 Bo Berglund via fpc-pascal napsal(a): > I found more reading and now I am a bit confused again: > When using MIME, why do you need to also set the recipient, sender etc for the > SMTP object when it is already part of the MIME object? > Or does SMTP discard its own properties if a MIME package comes along? > Because MIME and SMTP is not same. Synapse's MimePart just get RFC2822 raw plaintext and decompose it into tree object structure representing MIME parts. And/or compose it back to plaintext. But where you got mail raw plaintext? SMTP, IMAP4, POP3, database, file,... (you can use it for HTTP forms too!) So, SMTP is just one of many options. MIME is independent. SMTP deliver messages by SMTP envelope, it ignoring message headers. Look at for any raw message from this conference. You are not written as recepient in "To" header, however you got it. You have been written as recepient in SMTP envelope only, not in message text. Lukas. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal