[lug] file handle and pipe

j davis davis_compz at hotmail.com
Fri Jun 28 17:37:46 MDT 2002


Hello,
Im a newbie. I have a var. that holds the contents of a email. I am trying
to send the email using sendmail like this....

`/bin/echo $in{content} | sendmail jd\@taproot.bz`;

doesnt work , friend suggested this.....

open MAIL, "|/usr/bin/sendmail jd\@taproot.bz";
print MAIL "$in{content}";
close MAIL;

cant seem to make this work either but i really like the idea of it.
can i open a file handel and pipe info into a program like
im trying above?

p.s. i did send this to boulder-pm, just trying to cover all
my bases

thanks,
jd
jd at taproot.bz
http://www.taproot.bz

thanks,
jd

jd at taproot.bz
http://www.taproot.bz

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com




More information about the LUG mailing list