Do you know where your variables are? | |
PerlMonks |
Re: can't get mailx to send from within a scriptby gellyfish (Monsignor) |
on Aug 17, 2006 at 12:10 UTC ( [id://567902]=note: print w/replies, xml ) | Need Help?? |
Doesn't mailx need some input on it's STDIN, like the message for instance? I think you need to do something like (untested) :
I would however recommend using another mechanism to send mail in your program, not limited to piping directly to sendmail or using a module such as Email::Send /J\
In Section
Seekers of Perl Wisdom
|
|