X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpay_batch.pm;h=55e4d3f145030e845e983021b78b126adf98377b;hb=93b55cfdc07c1c29e9b42e801713f6595eaf071f;hp=fe03bd0a665fb21fdf209a021acfbe4ba37d3a37;hpb=7fe9f776655a9a7fc3b93b4f0e06c8b8193834b6;p=freeside.git diff --git a/FS/FS/pay_batch.pm b/FS/FS/pay_batch.pm index fe03bd0a6..55e4d3f14 100644 --- a/FS/FS/pay_batch.pm +++ b/FS/FS/pay_batch.pm @@ -764,10 +764,7 @@ sub import_from_gateway { my $body = "Import from gateway ".$gateway->label."\n".$error_text; send_email( to => $mail_on_error, - from => $conf->config('invoice_from_name') ? - $conf->config('invoice_from_name') . ' <' . - $conf->config('invoice_from') . '>' : - $conf->config('invoice_from'), + from => $conf->invoice_from_full(), subject => $subject, body => $body, );