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

2021-06-06 Thread Luca Olivetti via fpc-pascal
El 6/6/21 a les 8:58, gebylist via fpc-pascal ha escrit: Just place Synapse's sources somewhere, where your project "see it". That's what a lazarus' package does. Bye -- Luca ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

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

2021-06-06 Thread Bo Berglund via fpc-pascal
On Sun, 6 Jun 2021 08:58:21 +0200, gebylist via fpc-pascal wrote: >?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"

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

2021-06-06 Thread gebylist via fpc-pascal
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

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

2021-06-05 Thread Bo Berglund via fpc-pascal
On Sun, 30 May 2021 13:36:08 -0400, Dennis Lee Bieber via fpc-pascal wrote: > > Okay, slipping in late and you may have solved your problem by now >but... Yes, I ditched Indy10 for smtp emailing and instead used Synapse 40.1 from the OnLinePackageManager in Lazarus. Took a while to

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

2021-05-18 Thread Bo Berglund via fpc-pascal
On Tue, 18 May 2021 00:25:51 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: >> Follow-on question: >> Do I have to install dev packages like this on the target system as well >> (one >> where the application is not going to be built on? >> >> Or is it only needed to be on the

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

2021-05-18 Thread Michael Van Canneyt via fpc-pascal
On Mon, 17 May 2021, Travis Siegel via fpc-pascal wrote: The -dev part of the package is necessary for the headers used for compiling, any target system running the finished product will not require the -dev version of the packages to be installed, since they won't be using the header files

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

2021-05-17 Thread Travis Siegel via fpc-pascal
The -dev part of the package is necessary for the headers used for compiling, any target system running the finished product will not require the -dev version of the packages to be installed, since they won't be using the header files directly. On 5/17/2021 6:20 PM, Bo Berglund via

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

2021-05-17 Thread Michael Van Canneyt via fpc-pascal
On Tue, 18 May 2021, Bo Berglund via fpc-pascal wrote: On Mon, 17 May 2021 23:20:16 +0200, gebylist via fpc-pascal wrote: ?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,

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

2021-05-17 Thread Bo Berglund via fpc-pascal
On Mon, 17 May 2021 23:20:16 +0200, gebylist via fpc-pascal wrote: >?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, >>

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

2021-05-17 Thread gebylist via fpc-pascal
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

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

2021-05-17 Thread Bo Berglund via fpc-pascal
On Sat, 15 May 2021 09:00:08 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: > >Glad you got it working. > >I worked for some time for a mass mailing company. >From that experience I assure you that delivering mail is NOT easy. > >Meanwhile, there are a lot of safety mechanisms

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

2021-05-15 Thread Bo Berglund via fpc-pascal
On Sat, 15 May 2021 18:11:22 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: >Welcome to the world of mailing. >I wish I could say it gets better, but it does not. > >> >> The body of the message is fixed at the moment, I could add a timestamp >> string >> to it but not much more to

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

2021-05-15 Thread Michael Van Canneyt via fpc-pascal
On Sat, 15 May 2021, Bo Berglund via fpc-pascal wrote: On Sat, 15 May 2021 09:00:08 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: Glad you got it working. I worked for some time for a mass mailing company. From that experience I assure you that delivering mail is NOT easy.

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

2021-05-15 Thread Bo Berglund via fpc-pascal
On Sat, 15 May 2021 09:00:08 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: >Glad you got it working. > >I worked for some time for a mass mailing company. >From that experience I assure you that delivering mail is NOT easy. > >Meanwhile, there are a lot of safety mechanisms installed

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

2021-05-15 Thread Michael Van Canneyt via fpc-pascal
On Sat, 15 May 2021, Bo Berglund via fpc-pascal wrote: It is not a size problem, the test mail contains just a very small zipfile sample (5 kb in size). And the mail is not in the spam folder either, it is simply silently rejected by GMail... No error message. It turns out that GMail

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

2021-05-15 Thread Bo Berglund via fpc-pascal
On Sat, 15 May 2021 01:11:07 +0200, Tomas Hajny via fpc-pascal wrote: >> Is there some kind of blocking for emails with zip attachments which >> stops them >> from being delivered to GMail accounts? >> >> If so, is there some other type of compressed format I can use which >> is allowed >>

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

2021-05-14 Thread Tomas Hajny via fpc-pascal
On 2021-05-15 00:25, Bo Berglund via fpc-pascal wrote: On Wed, 12 May 2021 12:42:14 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: So right now I try to read up on how to actually handle the mime object here... And I had an additional question: Does Synapse throw exceptions when

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

2021-05-14 Thread Bo Berglund via fpc-pascal
On Wed, 12 May 2021 12:42:14 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: >> So right now I try to read up on how to actually handle the mime object >> here... >> >> And I had an additional question: >> >> Does Synapse throw exceptions when errors happen? It does not look like that

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

2021-05-13 Thread gebylist via fpc-pascal
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

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

2021-05-13 Thread Michael Van Canneyt via fpc-pascal
On Thu, 13 May 2021, Bo Berglund via fpc-pascal wrote: On Wed, 12 May 2021 12:42:14 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: The only attachment example I have (from Michael) brings in mime, which I don't understand much of and the synapse docs are very hard reading too. I

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

2021-05-13 Thread Bo Berglund via fpc-pascal
On Wed, 12 May 2021 12:42:14 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: >> The only attachment example I have (from Michael) brings in mime, which I >> don't >> understand much of and the synapse docs are very hard reading too. > >I guess we have a different understanding of "hard

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

2021-05-12 Thread Jean SUZINEAU via fpc-pascal
My code uses others units from this directories: https://github.com/jsuzineau/pascal_o_r_mapping/tree/master/pascal_o_r_mapping/2_Units https://github.com/jsuzineau/pascal_o_r_mapping/tree/master/pascal_o_r_mapping/3_Data Particularly, Formate_Liste from

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

2021-05-12 Thread Jean SUZINEAU via fpc-pascal
I do not guarantee anything, I didn't use this recently, but I have a function for sending mail with attachments using Synapse. It's the function MailTo_SMTP in this unit : https://github.com/jsuzineau/pascal_o_r_mapping/blob/master/pascal_o_r_mapping/3_Data/uMailTo.pas (my code is under LGPL,

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

2021-05-12 Thread Michael Van Canneyt via fpc-pascal
On Tue, 11 May 2021, Bo Berglund via fpc-pascal wrote: On Mon, 10 May 2021 09:24:37 - (UTC), Virgo Pärna via fpc-pascal wrote: On Mon, 10 May 2021 10:08:53 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: That's it. From your story, it seems you just need to set

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

2021-05-12 Thread wkitty42--- via fpc-pascal
On 5/11/21 5:35 PM, Bo Berglund via fpc-pascal wrote: Of course, but as I said the basic mail sending is working I just have a hard time understanding how to add file attachments. It would not have worked unless the proper uses are added to the pas file and also the laz_synapse package set as

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

2021-05-11 Thread Bo Berglund via fpc-pascal
On Mon, 10 May 2021 09:24:37 - (UTC), Virgo Pärna via fpc-pascal wrote: >On Mon, 10 May 2021 10:08:53 +0200 (CEST), Michael Van Canneyt via fpc-pascal > wrote: >> >> That's it. From your story, it seems you just need to set >>FSMTP.TargetPort:=465; >>FSMTP.FullSSL:=True; >> > >

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

2021-05-11 Thread Virgo Pärna via fpc-pascal
On Mon, 10 May 2021 10:08:53 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: > > That's it. From your story, it seems you just need to set >FSMTP.TargetPort:=465; >FSMTP.FullSSL:=True; > Also ssl_openssl must be in uses somewhere in program to include openssl support for

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

2021-05-10 Thread Bo Berglund via fpc-pascal
On Mon, 10 May 2021 13:11:26 +0200, Bo Berglund via fpc-pascal 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

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

2021-05-10 Thread Bo Berglund via fpc-pascal
On Mon, 10 May 2021 11:40:41 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: > > >On Mon, 10 May 2021, Bo Berglund via fpc-pascal wrote: > >> >> Not so simple when you read scores of Internet pages on the subject... > >99% of what is written on internet is junk or outdated. > >OK, maybe

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

2021-05-10 Thread Michael Van Canneyt via fpc-pascal
On Mon, 10 May 2021, Bo Berglund via fpc-pascal wrote: Not so simple when you read scores of Internet pages on the subject... 99% of what is written on internet is junk or outdated. OK, maybe it's only 98%. Check the synapse sources, that's all you need. The handling of attachments is

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

2021-05-10 Thread Bo Berglund via fpc-pascal
On Mon, 10 May 2021 10:08:53 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: > > >On Mon, 10 May 2021, Bo Berglund via fpc-pascal wrote: > >> >> I have now installed Synapse 40.1 in LKazarus 2.0.12 with Fpc 3.2.0 >> >>> I use it myself in a headless FPC-created server running on linux,

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

2021-05-10 Thread Michael Van Canneyt via fpc-pascal
On Mon, 10 May 2021, Bo Berglund via fpc-pascal wrote: I have now installed Synapse 40.1 in LKazarus 2.0.12 with Fpc 3.2.0 I use it myself in a headless FPC-created server running on linux, since many many years, and use it in a Delphi-created server also running on linux, so I'm very

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

2021-05-10 Thread Bo Berglund via fpc-pascal
On Thu, 6 May 2021 14:04:07 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: > > >On Thu, 6 May 2021, Bo Berglund via fpc-pascal wrote: > >>> I highly recommend Synapse over Indy. >>> >> >> I had great troubles a year or so ago when I tried using some serial packages >> based on synapse

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

2021-05-06 Thread Travis Siegel via fpc-pascal
On 5/6/2021 7:54 AM, Bo Berglund via fpc-pascal wrote: On Wed, 5 May 2021, Nico Neumann via fpc-pascal wrote: Indy has support for OpenSSL 1.1.1, just not officially (yet). See https://github.com/IndySockets/Indy/pull/299 THe SMTP server I use requires SSL on port 465. I have only ever

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

2021-05-06 Thread Arne Hanssen via fpc-pascal
Den 06.05.2021 13:54, skreiv Bo Berglund via fpc-pascal: [..] I may even use some external program for mailing by using TProcess to run it But what? THere used to be something called sendmail or similar in Linux but right now I cannot see it on my boxes. And I am uncertain if it can do SSL

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

2021-05-06 Thread Bo Berglund via fpc-pascal
On Thu, 6 May 2021 14:04:07 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: >On Thu, 6 May 2021, Bo Berglund via fpc-pascal wrote: > >>> I highly recommend Synapse over Indy. >>> >> >> I had great troubles a year or so ago when I tried using some serial packages >> based on synapse

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

2021-05-06 Thread Michael Van Canneyt via fpc-pascal
On Thu, 6 May 2021, Bo Berglund via fpc-pascal wrote: I highly recommend Synapse over Indy. I had great troubles a year or so ago when I tried using some serial packages based on synapse because they brought in GUI stuff that made it impossible to compile a simple program aimed at running

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

2021-05-06 Thread Bo Berglund via fpc-pascal
On Wed, 5 May 2021 23:20:08 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: > > >On Wed, 5 May 2021, Bo Berglund via fpc-pascal wrote: > >> On Wed, 5 May 2021 16:51:06 +0200 (CEST), Michael Van Canneyt via fpc-pascal >> wrote: >> >>> >>> >>> On Wed, 5 May 2021, Nico Neumann via

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

2021-05-05 Thread Michael Van Canneyt via fpc-pascal
On Wed, 5 May 2021, Bo Berglund via fpc-pascal wrote: On Wed, 5 May 2021 16:51:06 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: On Wed, 5 May 2021, Nico Neumann via fpc-pascal wrote: Indy has support for OpenSSL 1.1.1, just not officially (yet). See

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

2021-05-05 Thread Bo Berglund via fpc-pascal
On Wed, 5 May 2021 16:51:06 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: > > >On Wed, 5 May 2021, Nico Neumann via fpc-pascal wrote: > >> Indy has support for OpenSSL 1.1.1, just not officially (yet). >> See https://github.com/IndySockets/Indy/pull/299 > >I am aware of this. Good luck

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

2021-05-05 Thread Michael Van Canneyt via fpc-pascal
On Wed, 5 May 2021, Nico Neumann via fpc-pascal wrote: Indy has support for OpenSSL 1.1.1, just not officially (yet). See https://github.com/IndySockets/Indy/pull/299 I am aware of this. Good luck getting that to work on linux. It's a total mess and not nearly ready for production use.

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

2021-05-05 Thread Nico Neumann via fpc-pascal
Indy has support for OpenSSL 1.1.1, just not officially (yet). See https://github.com/IndySockets/Indy/pull/299 Am Mi., 5. Mai 2021 um 16:38 Uhr schrieb Michael Van Canneyt via fpc-pascal : > > > On Wed, 5 May 2021, Bo Berglund via fpc-pascal wrote: > > > I have an application which is ported

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

2021-05-05 Thread Michael Van Canneyt via fpc-pascal
On Wed, 5 May 2021, Bo Berglund via fpc-pascal wrote: I have an application which is ported from Delphi to FreePascal and will be used on Raspberry Pi (Debian based Linux). It uses Indy10 components. Indy is installed using OnLinePackageManager in Lazarus. The problem I have is that when I

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

2021-05-05 Thread Bo Berglund via fpc-pascal
I have an application which is ported from Delphi to FreePascal and will be used on Raspberry Pi (Debian based Linux). It uses Indy10 components. Indy is installed using OnLinePackageManager in Lazarus. The problem I have is that when I run the application it gets an exception when trying to send