> -----Original Message----- > From: Paul Jasa [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 27, 2001 9:53 AM > To: 'paul beckett (JIC)'; [EMAIL PROTECTED] > Subject: RE: Send e-mail attachment > > > Paul, > one of my favorite lines in my scripts is: > > open LETTER, "|mailx -s "SUBject Here!!" someone\@somewhere.com < > /some/file";
I don't understand this code. What do you do with LETTER? It should be a pipe to mailx stdin, but you've redirected that, so writes to LETTER don't go anywhere, do they? Why not just use system()? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]