ok this is problem going to be real easy for one of you PERL gurus but
my little brain just can't figure it out. From the command line (Solaris
9) I can do this fine:
echo my little test | mailx -s "Test Message" [EMAIL PROTECTED]
But in PERL the below code does not work:
system("echo my little test | mailx -s \"Test Message\"
[EMAIL PROTECTED]");
even if I just do:
system("mailx [EMAIL PROTECTED]");
it does not send the email
Now I know that mailx works perfectly fine from the command line. I am
also able to do other system commands from PERL perfectly fine. Also I
know that many of you gurus might suggest I do it a different way
because of security issues or what not but I would really like to find
out why this particular system command is not working from PERL.
Sincerely
Elliot
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/