How send the email and Attach a file with Lazarus? lazarus / 9-Editor ---------------------------------------------------------------------- Fortuna1 · 2010-07-10 10:11 How send  mail with Lazrus and how Attach a file  and sen with mail? Can anyone help with case. Thanks ---------------------------------------------------------------------- stonefull · 2010-07-10 11:58 Use lnet. You can download it in lnet.wordpress.com. ---------------------------------------------------------------------- Fortuna1 · 2010-07-10 13:48 Working very good. Thanks. ---------------------------------------------------------------------- Silvio Clécio · 2010-07-10 16:28 Hello, Please, take a look at this project: http://code.google.com/p/lazsolutions Good luck. ---------------------------------------------------------------------- cpalx · 2010-07-11 01:20 Any idea how to send mail in mac?, synapse fails in mac ---------------------------------------------------------------------- Silvio Clécio · 2010-07-11 02:10 I don't have the MAC to try a test, but the staff has updated the Synapse. Please, can you test if lazsendmail works on MAC? ---------------------------------------------------------------------- cpalx · 2010-07-11 02:12 it does not work, the problem is synapse, it calls to libc and does not work in mac ---------------------------------------------------------------------- cpalx · 2010-07-11 02:20 with the last synapse, it could compile, but i dont know ow to execute, it does not have a gui ... ---------------------------------------------------------------------- cpalx · 2010-07-11 02:44 i tried ./lazsendmail -from=xxxxx@gmail.com -to=cortiz@xxxxxx.com  -subject=prueba -user=xxxx@gmail.com -password=xxxxx -host=smtp.gmail.com -port=587 -ssl=true -tls=true -message=cpal and i have this ------------------------- SMTP error: MailFrom. Permanent Failure-Other or undefined security status530 5.7.0 Must issue a STARTTLS command first. q17sm336647ybk.17 Try sending again ------------------------- the mails and password are ok y trid with port 465 and the error is another one ------------------------- SMTP error: Login. ???-Other undefined Status Try sending again ------------------------- i am getting crazy ... ---------------------------------------------------------------------- Silvio Clécio · 2010-07-11 03:17 You need to install the Libs for sending email. For Win I use libeay32.dll and ssleay32.dll. In Linux I install with sudo apt-get install libssl-dev. Probably exists in the MAC a Lib for sending email. These Libs are also used by Firefox, Chrome, PostgreSQL, Thunderbird... etc. ---------------------------------------------------------------------- cpalx · 2010-07-11 15:07 The files exists, i will continue trying ---------------------------------------------------------------------- krexon · 2010-07-11 19:43 Try 'blat' (http://www.blat.net/). I use it for several years ---------------------------------------------------------------------- cpalx · 2010-07-11 22:58 I need it works in Windows / Linux and mac ---------------------------------------------------------------------- Fortuna1 · 2010-07-12 05:55 I try  attached  inet sample. lnet/examples/visual/smtp/smtptest.lpi Its work fine. I tested in Linux. I think it works Windows / Linux and mac ---------------------------------------------------------------------- krexon · 2010-07-12 07:22 http://caspian.dotconf.net/menu/Software/SendEmail/ [Supported Platforms: Linux, BSD, OS X, Windows 98, Windows NT, Windows 2000, & Windows XP] SendEmail is licensed under the GNU GPL, either version 2 of the License or (at your option) any later version. ---------------------------------------------------------------------- xinyiman · 2010-10-22 06:49 Very interesting! ---------------------------------------------------------------------- dinae04 · 2011-01-16 09:48 thanks to this thread I know ho to it myself now. ---------------------------------------------------------------------- arneolav · 2013-12-26 13:20 http://forum.lazarus.freepascal.org/index.php/topic,23030.msg136978/to picseen.html#new