[SOLVED] SMTPSend using SYNAPSE does not connect lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- wittbo · 2019-01-20 17:55 I'm just trying to get a SMTP send connection to mail.gmx.net to run. OS is High Sierra with SYNAPSE 4.0. The initial contact works, but the SSL connection with .SSLDoConnect fails. Can anyone help? ---------------------------------------------------------------------- Renat.Su · 2019-01-20 20:46 You gave little information. For example, did you remember to add the SSL_OpenSSL module to uses? And use the right OpenSSL libraries? ---------------------------------------------------------------------- wittbo · 2019-01-21 09:21 I added the whole contents of the .../source/lib path to my project Folder, nothing more. With this the project could be compiled and run without any error. No hint, that there is any library missing. So, in detail, I don't know, which library gets linked into my project nor whether macos has any SSL lib within the OS. ---------------------------------------------------------------------- guest58172 · 2019-01-21 09:24 Maybe the issue is that SSL >= 1.1 does not work with FpWeb... (sadly). ---------------------------------------------------------------------- Renat.Su · 2019-01-21 09:34 Quote from: wittbo on January 21, 2019, 10:21:15 amI added the whole contents of the .../source/lib path to my project Folder, nothing more. With this the project could be compiled and run without any error. No hint, that there is any library missing. So, in detail, I don't know, which library gets linked into my project nor whether macos has any SSL lib within the OS. In order for HTTPS sites to work synapse, you need to add the ssl_openssl unit to the uses. Depending on the package laz_synapse it, oddly enough no. Therefore, add ssl_openssl to the dependencies and to the uses. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i uses   ...., smtpsend, ssl_openssl, ... ;Most likely, the IDE won't find ssl_openssl, so you'll need to add it to project dependencies or just add the unit to the project (IDE menu) http://wiki.freepascal.org/Synapse#Sending_email ---------------------------------------------------------------------- wittbo · 2019-01-28 12:36 Problem solved. It was really the uses clause. I cannot really see, why the program needs "uses ssl_openssl" in my main form, because nothing of those methods are used in the main form. And the Compiler compiles it, with or without that clause... Anyway, the smtpsend ist running. Perfect and thanks for your help. ---------------------------------------------------------------------- Renat.Su · 2019-01-28 12:41 Quote from: wittbo on January 28, 2019, 01:36:06 pmI cannot really see, why the program needs "uses ssl_openssl" in my main form, because nothing of those methods are used in the main form. And the Compiler compiles it, with or without that clause... Because this unit registers within classes for cryptography. In theory, synapse can use other plugins to implement HTTPS encryption. In this case, you must specify a different unit instead of ssl_openssl, so no error is generated