> just use something like > > $mail = "error message"; > Embperl::Mail::Execute({ input => \$mail, mtime => undef, inputfile => > 'error', to => ... });
Indeed this works, even without the inputfile=>'error' and mtime=>undef parameters it seems. I read on the archive at http://www.ecos.de/~mailarc/embperl/2005-04/msg00006.html that the "input=>\$mail" method didn't always work in the past and that apparently Gerald advises against using it. Also I can't find it in the docs. So I'm a bit concerned it might be somehow deprecated or not officially supported. Of course I prefer to specify an input string rather than an input file in most cases. -- Hartmut Pilch http://a2e.de/phm --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]