Gossamer Forum
Home : General : Perl Programming :

blat prints

Quote Reply
blat prints
$blat="blat.exe -s \"this is my subject\" -t \"$to\" -server mail.server.com -f \"$from\"";

system($blat);

blat results are printed to my webpage ... is there a silent mode option?
Quote Reply
Re: [robyone] blat prints In reply to
It shouldn't print unless you do print system($blat);

Im not totally sure on whats going on but above the system command you could do:

select(STDERR);

...see if that helps....it should then print to your error log rather than to the page.

You'll need to change back to STDOUT with:

select(STDOUT);

Last edited by:

Paul: May 10, 2002, 6:47 AM
Quote Reply
Re: [Paul] blat prints In reply to
there are no print commands :(

$blatline = "\"$emailprogram\" $file -s \"$subject\" -f $mailfrom -t $mailto -server $emailserver"; system($blatline); unlink($file);

---- prints out
sending path/to/file to .....

Last edited by:

robyone: May 11, 2002, 2:21 AM
Quote Reply
Re: [robyone] blat prints In reply to
Wink use -q at end of command. hope it helps.

Phil
Quote Reply
Re: [philod] blat prints In reply to
I would hope he would have solved this now with the thread being over 2 months old an all...I feel sorry for the poor guy if he hasn't found a solution yet Angelic
Quote Reply
Re: [Paul] blat prints In reply to
Tongue if he's anything like me, he would have fudged a work around! but its always nice to know what works for future ref.

later

phil