[Lazarus] How to send Email from Lazarus program under Linux x86-64

silvioprog silvioprog at gmail.com
Sun Mar 24 16:13:00 CET 2013


2013/3/24 <reinierolislagers at gmail.com>

> On 24-3-2013 15:19, Donald Ziesig wrote:
> > Hi All!
> >
> > I am trying to implement a program that will send emails to (a subset
> > of) an application-specific roster.
> >
> > I found numerous references to synapse so I downloaded the source which
> > includes a .lpk library (it is several years old).
>
> Yep, seems about 3 years old:
> cd C:\Development\extras\synapse
> svn log laz_synapse.lpk | more
> r129 | geby | 2010-07-02 12:46:39 +0200 (vr, 02 jul 2010) | 3 lines
>
> - improved MACOS compatibility
> - workaround for some broken virtual serial ports
> - Added Lazarus package
>
> > Has anyone had success in using this library under Linux (x86-64)?
>
> Yes. See e.g. fpctwit, which happily runs under Linux. Also, the fpcup
> Lazarus/fpc updater can install synapse for you, also the synapse trunk
> version.
>
> AFAIK no need to change any synapse files.
>
> Please see the wiki page on synapse:
> http://wiki.lazarus.freepascal.org/synapse
>
> > I also examined Indy (which I used successfully years ago on
> > Delphi/Borland c++ Builder) but it, too, is obsolete (latest updates
> > seem to be circa 2006) and comes with many, many warnings and caveats.
> Please see the indy wiki page:
> ... ah well, you'll be able to find it. It's cross referenced in the
> synapse page as well IIRC.
>
> > Is there any other smtp and pop3 code available for Lazarus or will I
> > have to generate my own from scratch?
>
> There certainly is. IIRC, LazSolutions has code for sending email.
> Synapse comes with an email example, or has it in the examples directory
> on their site.
> Code for sending email using synapse is floating around on e.g. the
> synapse mailing list...
>
> Good luck,
> Reinier


Thanks for the indication Reinier! :)

Meet the XMailer also:

https://github.com/silvioprog/xmailer

XMailer is a nice plugin for send e-mails easily. It's improved derivation
of LSSendMail. :) (it use Synapse too, and offers support to UTF-8)

-- 
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130324/503d50d5/attachment-0003.html>


More information about the Lazarus mailing list