Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: can't get mailx to send from within a scriptby nimdokk (Vicar) |
on Aug 17, 2006 at 12:09 UTC ( [id://567900]=note: print w/replies, xml ) | Need Help?? |
The system command won't work with all double quotes like you have. The initial double quote around hello closes the double quote you started before /bin/mailx. Try using single quotes around hello. You might also try using qx!! or even one of the mail modules (i.e. Net::SMTP) to send your mail.
In Section
Seekers of Perl Wisdom
|
|