where $info = $var1 $ARGV[1]; the only way I know how to use mailx in a perl script is to input a file "<" , "$filename" so that the email terminates properly.@mail_command = ( "/usr/bin/mailx ", "-s" , "Subject" , @PPL , "$info +");
Is there a way to send a message that terminates properly and without needing a $filename?
In reply to Getting input to mailx by nkpgmartin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |