diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-01-29 18:00:36 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-01-29 18:00:36 -0600 |
commit | 8f695e657e4f97cbf9ebbf99c3c2dd24bb9aea2f (patch) | |
tree | 94f06b305ea4387bc9c8b454452d143c0d2a00de /FS/FS/pay_batch.pm | |
parent | fbdaf36fb33a44a453e23bc2dc8d18637b40dae9 (diff) |
RT#30613: Can't Send E-mail
Diffstat (limited to 'FS/FS/pay_batch.pm')
-rw-r--r-- | FS/FS/pay_batch.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/FS/FS/pay_batch.pm b/FS/FS/pay_batch.pm index 3079db1..fcf1a5a 100644 --- a/FS/FS/pay_batch.pm +++ b/FS/FS/pay_batch.pm @@ -749,10 +749,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, ); |