From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Thanks to all,
>
> it working!!!
>
> RobR: for $i,I thinking i need give parameter into table before use
> it.
>
> fi each "ARGV" i put " from ' and it working
>
> the correct script is :
> #!/usr/bin/perl -w
>
> use Mail::Sender;
>
>
> $sender = new Mail::Sender
> {smtp => 'server.smtp.com', from => '[EMAIL PROTECTED]'} or die $!;
> $sender->MailFile({to => '[EMAIL PROTECTED]',
> subject => "$ARGV[0]",
> msg => "$ARGV[1]",
Drop the quotes completely. This is Perl, not a shell script!
msg => $ARGV[1],
Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]