projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ticket #30613: Can't Send E-mail
[freeside.git]
/
FS
/
FS
/
Cron
/
upload.pm
diff --git
a/FS/FS/Cron/upload.pm
b/FS/FS/Cron/upload.pm
index
03ed366
..
fa1762f
100644
(file)
--- a/
FS/FS/Cron/upload.pm
+++ b/
FS/FS/Cron/upload.pm
@@
-508,7
+508,10
@@
sub prepare_report {
(
to => $to,
(
to => $to,
- from => $conf->config('invoice_from', $agentnum),
+ from => $conf->config('invoice_from_name', $agentnum) ?
+ $conf->config('invoice_from_name', $agentnum) . ' <' .
+ $conf->config('invoice_from', $agentnum) . '>' :
+ $conf->config('invoice_from', $agentnum),
subject => $subject,
body => $body,
);
subject => $subject,
body => $body,
);