Mail::Outlook 3 and other stories

barbie on 2003-10-03T15:37:22

So I've managed to get a beta version of Mail::Outlook module working and have intergrated it into Test::Reporter with a patch [1]. So I'm now sending automated testing reports. However, it has highlighted a few problems.

Firstly I can't automate the batch process that I run behind the scenes. I originally tried to do a system() call, but I kept getting odd CPANPLUS errors that don't appear when you run 'cpansmoke -apisu $path' by hand on the command line. I suspect this is a M$ thing rather than anything else. Also as part of the security patches that M$ have implemented recently I have to agree to every mail that's sent. That does seem a bit of an overkill, and it makes me wonder why M$ haven't thought of the firewall trick of allowing trusted scripts/apps to automatically send mail. If they DO allow it, I haven't found it, so if anyone out there knows of a solution, I'd be happy to hear from you.

CPANPLUS seems to occasionally do one of two things on error. It goes round in circles trying to install the same distribution repeatedly or dies horribly if it can't find pre-requisites. Mostly though it does the right thing. I can imagine this is all scary stuff, so I am not sure whether this is a M$ problem (more than likely) or whether the DOS shell causes CPANPLUS to lose itself.

I've automated it all by checking the mailbox folder 'CPAN Testers' in my Outlook and picking all the mail with a subject of 'CPAN Upload:'. I then see whether it's a distribution I'm going to allow to be tested. I had to but a block on some types of distributions (notably DBD, POE, XML and Net) as I was getting some odd breakages within them. Once this script has bedded in and I've sussed out some of the general problems, I'll go back and revisit these other modules and see if I can get them retested.

I have been meaning to set this up at home too, but as yet I've been far too busy downloading all the Pearl Jam live shows from their latest tour and loads of old AC/DC and Johnny Cash concert videos. Someone has also uploaded videos of the JJ72 and Neil Finn sets from the V2001 festivals. I'm looking forward to watching them this weekend.

In other news, I've uploaded a couple of distributions to the Birmingham Perl Mongers modules page. These extra modules are far from finished, but they are at a convienent point to store them somewhere publically accessible. I'm looking at tarting up my WWW::Auction::eBay distribution over the coming weeks. This time around I'm going to learn how to use WWW::Mechanize to do the grunt work.

After that I'm going to start looking at adding Extended Headers to Mail::Outlook. It can be done in VB, so there should be a way of doing it in Perl. I found an addheader.oft file someone had written while googling for more info. Unfortunately I don't have a converter that can help me decrypt what it actually does to add the X-Header text entry box. I will be writing to the author, to see if he is willing to let me see how he does it, though I'm not sure yet whether to tell him I'm rewriting it in Perl ;)

[1] I'll probably include this in the next release, which will probably be to CPAN too.