>
> Can you tell me what is the point of HTML::Embperl::Mail when one can call
> Embperl::Execute using scalar ref output and them email the scalar?
> eg.:
> my $output = '';
> HTML::Embperl::Execute( { inputfile => 'blah.epl', output => \$output } );
> # email $ouput via eg. Mail::Sendmail
>

- You don't need sendmail localy installed, because EMbperl::Mail uses
Net::SMTP and therefor only need an SMTP server anywhere on the network (so
it works also on Windows NT (95/98 has some socket problems and I am not
sure if it works quite ok there))

Of course you can use Net::SMTP and Execute in the same way as you decribed
above, the advantage of Embperl::Mail is only that it has done this already
for you and gives you an easy to use interface e.g.

HTML::Embperl::Mail::Execute( { inputfile => 'blah.epl', to =>
'[EMAIL PROTECTED]' } );

seems easier to me, then first calling Execute and then pipeing the output
to sendmail. It's just a type saver.

Gerald



-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to