Category Archives: Perl

How to test sending email using MIME::Lite

Earlier this week I had to update a system that uses the MIME::Lite module to send email so that the emails it sends are properly UTF-8 encoded. The change to the code was very simple. What was a little less … Continue reading

Posted in Code, Email, Perl, Testing

Preventing SMTP Auth abuse

One of the biggest problems I have had to deal with over the past few years has been abuse of authenticated SMTP. Spammers occasionally manage to obtain a customer’s username and password and use these to send email via our … Continue reading

Posted in Code, Email, Perl, Postfix, SPAM

GoCardless – direct debit service

UKFSN uses Kashflow for our accounting requirements. It’s a good service and I like it. Recently Duane, the founder of Kashflow, announced a new facility to make it possible for us to collect payment from our customers via direct debit … Continue reading

Posted in Perl

Perl Class::DBI and using MySQL date functions

I’ve been writing a perl script which has to read and update a MySQL database which uses MySQL’s own date functions. Using Perl’s DBI interface this is easy as the SQL statements are up to the programmer however I’ve been … Continue reading

Posted in Code, MySQL, Perl