(SOLVED) synapse mail lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- xinyiman · 2011-09-13 06:09 Whoever tells me how to send emails with synapse? I'm just a small example. thanks ---------------------------------------------------------------------- theo · 2011-09-13 08:57 Quote from: xinyiman on September 13, 2011, 08:09:01 amWhoever tells me how to send emails with synapse? I'm just a small example. thanks Synapse help will tell you: http://synapse.ararat.cz/doc/help/smtpsend.html SendTo or SentToEx are simple functions. ---------------------------------------------------------------------- xinyiman · 2011-09-13 09:00 But if you wanted to use GMail as the SMTP server? ---------------------------------------------------------------------- Shebuka · 2011-09-13 13:42 Quote from: xinyiman on September 13, 2011, 11:00:11 amBut if you wanted to use GMail as the SMTP server? Try SentToEx with Code: [Select]    Port = 465     Host = 'smtp.gmail.com'     Password = 'YourPassword'     Username = 'YourUserName@gmail.com'and with associated SSL connection and TLS see here for setting them http://synapse.ararat.cz/doc/help/smtpsend.TSMTPSend.html ---------------------------------------------------------------------- xinyiman · 2011-09-13 15:03 ok thanks ---------------------------------------------------------------------- Silvio Clécio · 2011-09-13 15:45 Hi, See lssendmail project: http://code.google.com/p/lazsolutions/ Linux (Ubuntu): http://lazsolutions.googlecode.com/files/lssendmail_1.6_i386.deb Win: http://lazsolutions.googlecode.com/files/lssendmail_1.6_win32_all.exe Download actual sources via SVN: http://lazsolutions.googlecode.com/svn See wiki too: http://code.google.com/p/lazsolutions/w/list Good luck. ---------------------------------------------------------------------- xinyiman · 2011-09-14 06:13 Thank you ---------------------------------------------------------------------- xinyiman · 2011-09-14 13:41 I solved with the help of Stefano Cortelli. And I created a library to use it. At the following address is the solution: www.liuheschool.com/informatica/Lazarus/MyLibMail/Libreria_Posta.zip To just install linux: libssl-dev For windows: the dll should already be in the folder Libreria_Posta. Libreria_Posta\ = folder with the library Libreria_Posta\ProvaLib = example test