[boulder.pm] file handle and pipe

j davis davis_compz at hotmail.com
Fri Jun 28 18:36:36 CDT 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?

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

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com




More information about the Boulder-pm mailing list