Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am getting error message 'no message' when I execute the program. When I use this same mailx at the shell level, it sends the mail with the content in the file What I am doing wrong in the code?Format REPORT = Test . Sub one { open(REPORT,">output.txt"); write(REPORT); #trying to send mail using this output.txt file open(FILE,"output.txt"); system("mailx -s \"Testing Report\" name@company.com<$FILE"); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mailx question
by Anonymous Monk on Jul 01, 2000 at 09:25 UTC | |
|
Re: Mailx question
by Anonymous Monk on Jul 01, 2000 at 11:51 UTC | |
by Anonymous Monk on Jan 11, 2011 at 07:57 UTC | |
|
Re: Using Mailx
by Anonymous Monk on Sep 02, 2004 at 08:02 UTC |