From 8f695e657e4f97cbf9ebbf99c3c2dd24bb9aea2f Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Thu, 29 Jan 2015 18:00:36 -0600 Subject: RT#30613: Can't Send E-mail --- FS/FS/cust_main.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'FS/FS/cust_main.pm') diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index 1ed1d4a..d6f1a31 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -4327,10 +4327,7 @@ sub notify { return unless $conf->exists($template); - my $from = $conf->config('invoice_from_name', $self->agentnum) ? - $conf->config('invoice_from_name', $self->agentnum) . ' <' . - $conf->config('invoice_from', $self->agentnum) . '>' : - $conf->config('invoice_from', $self->agentnum) + my $from = $conf->invoice_from_full($self->agentnum) if $conf->exists('invoice_from', $self->agentnum); $from = $options{from} if exists($options{from}); -- cgit v1.1