Re: [Synalist] New synapse issues
Thank you for the information about sinadbg. The error I get is: SSL/TLS support is not compiled! Installing the libssl-dev package did not fix the problem. Any idea? Daniel Acevedo On 6/7/2017 3:53:02 PM Lukas Gebauer wrote: > > imap.FullSSL:=true; > > imap.AutoTLS:=true; > Never use both options at same time! > AutoTLS connect to standard IMAP port 143, and then it turn on > encryption by special IMAP protocol command. It is called as explicit > encryption. > FullSSL using impicit encryption. It create encrypted connection from > the beginning. Because It cannot talk by standard unencrypted > protocol commands, it must connect to different TCP port 993. > Buth modes cannot be mixed. Use one or second, depending on your > server. > If is still failed, then see what says imap.sock.lasterror, > imap.sock.lasterrordesc, imap.sock.ssl.lasterror and > imap.sock.ssl.lasterrordesc. > You can use synadbg.pas unit for detailed communication log too. > -- > Lukas Gebauer. > http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. > http://geoget.ararat.cz/ - Geocaching solution > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > synalist-public mailing list > synalist-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/synalist-public -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public
Re: [Synalist] New synapse issues
> imap.FullSSL:=true; > imap.AutoTLS:=true; Never use both options at same time! AutoTLS connect to standard IMAP port 143, and then it turn on encryption by special IMAP protocol command. It is called as explicit encryption. FullSSL using impicit encryption. It create encrypted connection from the beginning. Because It cannot talk by standard unencrypted protocol commands, it must connect to different TCP port 993. Buth modes cannot be mixed. Use one or second, depending on your server. If is still failed, then see what says imap.sock.lasterror, imap.sock.lasterrordesc, imap.sock.ssl.lasterror and imap.sock.ssl.lasterrordesc. You can use synadbg.pas unit for detailed communication log too. -- Lukas Gebauer. http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. http://geoget.ararat.cz/ - Geocaching solution -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public
Re: [Synalist] New synapse issues
I'm sorry I was not specific enough. I use SSL/TLS. please see code below: imap := TImapSend.Create; imap.Username := UN; imap.Password := PA; imap.TargetPort:=IPORT; imap.TargetHost := HO; imap.FullSSL:=true; imap.AutoTLS:=true; if imap.Login then begin ... I use the SSL/TLS libraries that come with Linux (Ubuntu 16.04, Debian Jessie). Should I install some specific library (in Ubuntu 15.10 the same code worked well). I'm using Lazarus 1.6. Thank you for all your good work. Daniel Acevedo On 6/7/2017 11:46:22 AM Lukas Gebauer wrote: > > I download the new version (synalist-code-206-trunk) and compiled again my program, > but IMAP still is not working. > > > > Tested under Ubuntu 16.04 and Debian Jessie. > > > > The same code (using synalist-code-203-trunk) works well with older Linux versions > (like Ubuntu 15.10). > What you mean by "not working"? What failed exactly? Are you using > SSL/TLS? What versions? etc. > -- > Lukas Gebauer. > http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. > http://geoget.ararat.cz/ - Geocaching solution > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > synalist-public mailing list > synalist-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/synalist-public -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public
Re: [Synalist] slight bug in Synaser
> I discovered a very slight bug in Synaser under windows 10 when using > BlueTooth Serial Ports. > > On line 2300, in this particular case, the string returned by reg.ReadString > is badly terminated and the last character is missing, leading to all ports > named as `COMĀ“. Ok, commited as SVN#207. Thank you! -- Lukas Gebauer. http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. http://geoget.ararat.cz/ - Geocaching solution -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public
Re: [Synalist] New synapse issues
> I download the new version (synalist-code-206-trunk) and compiled again my > program, but IMAP still is not working. > > Tested under Ubuntu 16.04 and Debian Jessie. > > The same code (using synalist-code-203-trunk) works well with older Linux > versions (like Ubuntu 15.10). What you mean by "not working"? What failed exactly? Are you using SSL/TLS? What versions? etc. -- Lukas Gebauer. http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. http://geoget.ararat.cz/ - Geocaching solution -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public