From f13c9d8580d02851b150e21ea9beb6fc1dfbd3c8 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Tue, 27 Jan 2015 16:25:18 -0600 Subject: Ticket #30613: Can't Send E-mail --- FS/FS/upload_target.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'FS/FS/upload_target.pm') diff --git a/FS/FS/upload_target.pm b/FS/FS/upload_target.pm index 33088cb..73d2a04 100644 --- a/FS/FS/upload_target.pm +++ b/FS/FS/upload_target.pm @@ -163,7 +163,10 @@ sub put { # (maybe use only the raw content, so that we don't have to supply a # customer for substitutions? ewww.) my %message = ( - 'from' => $conf->config('invoice_from'), + 'from' => $conf->config('invoice_from_name') ? + $conf->config('invoice_from_name') . ' <' . + $conf->config('invoice_from') . '>' : + $conf->config('invoice_from'), 'to' => $to, 'subject' => $self->subject, 'nobody' => 1, -- cgit v1.1