in reply to Re: Re: Re: Re: Small Net::SMTP problem
in thread Small Net::SMTP problem
...and if I use this...use Net::SMTP; open(OLDOUT, ">&STDOUT"); close(STDOUT); my $smtp = Net::SMTP->new('relay.utah-inter.net'); open(STDOUT, ">&OLDOUT");
...then another console window opens containing "Bad command or filename," and the process just runs forever until I terminate it. Crazy stuff.use Net::SMTP; open(OLDERR, ">&STDERR"); open(STDERR, "nul"); eval { my $smtp = Net::SMTP->new('relay.utah-inter.net') }; open(STDERR, ">&OLDERR"); die $@ if $@;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: Small Net::SMTP problem
by chipmunk (Parson) on Dec 02, 2000 at 01:46 UTC |