perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RobertCZ <rob...@robert.cz>
Subject Re: only static messages via Embperl::Mail ?
Date Tue, 21 Feb 2006 16:56:02 GMT
no, input => \$mail is ok as long as you also specify inputfile => 
'somename' (as is said clearly in the docs) otherwise embperl can't 
cache it correctly


PILCH Hartmut wrote:
>  > 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: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message