> -----Original Message----- > From: William Black [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 11, 2002 5:32 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: re: open command > > > The info in the two vars are correct. What doesen't work is > when the email > is sent it doesn't include the subject line and I can't tell why. > > > William > > >From: Felix Geerinckx <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: re: open command > >Date: 11 Jul 2002 12:24:31 -0000 > > > >on Thu, 11 Jul 2002 12:03:06 GMT, William Black wrote: > > > > > I'm using the open command with the pipe. For some reason this > > > doesn't work. Can anyone tell me why? > > > > > > open(MAIL,"| mail -s $subject $contact[0]->{email}") || die "can't > > > create";
The contents of $subject is very important, if there are spaces or dashes or something else that the mail program will interpret as additional commands this could be a problem. You might want to quote that like \"$subject\". -Mark -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]