Michael Fowler wrote: > > On Thu, Jun 14, 2001 at 08:30:14AM +0200, Adrienne Kotze wrote: > > $mailer = Mail::Mailer->new ("smtp", "smtp.mydomain.com") ; > > This should be: > > $mailer = Mail::Mailer->new("smtp", Server => "smtp.mydomain.com"); Thanx, this works great. So it would appear that the Cookbook has got a typo. 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 ? -- Adrienne Kotze - Technical Consultant - Sintrex Integration Service Mobile: +27 83 269 6725 - Facsimile: +27 83 8 269 6725 mailto:[EMAIL PROTECTED]