> So it would appear that the Cookbook has got a typo. Sorta. You might want to read in the deja thread I referred you to. [A thread from 1999. And I didn't find a correction in the Cookbook's errata (though that could be because the searching process is tedious and I wasn't motivated to keep at it for long).] > Just one last thing: If I move my code to ActiveState on NT, > I get the following: > > Invalid argument at lib/Mail/Mailer.pm line 270. > > Any ideas ? The deja thread would suggest you try the Cookbook syntax.