use FS::agent;
@EXPORT_OK = qw ( agent_email );
-$DEBUG = 1;
+$DEBUG = 0;
sub agent_email {
my %opt = @_;
RT::ConnectToDatabase();
}
- my $from = $conf->config('invoice_from');
+ my $from = $conf->invoice_from_full();
my $outbuf = '';;
my( $fs_interp, $rt_interp ) = mason_interps('standalone', 'outbuf'=>\$outbuf);