[fpc-pascal] Is there some example of an FPC program for use in svn hook calls (email)?

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Thu Dec 14 11:26:22 CET 2017


On 14/12/17 10:00, Adriaan van Os wrote:
> Bo Berglund wrote:
>> Now I am looking at the same problem for svn and this time I need it> 
>> to be cross-platform, hence using FPC.> Before I start on it myself I 
>> wonder if someone here has already> written such a program for svn and 
>> if so, if it is available as open> source?
> I use sendmail <https://en.wikipedia.org/wiki/Sendmail> from FPC, using 
> AssignStream, fpgeterrno and PClose. Haven't tried that on Windows though.

With the caveat that while Sendmail is a well-respected MTA, many unix 
systems also provide a sendmail command as a generic mailer. On Windows 
Blat is an alternative.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list