summaryrefslogtreecommitdiffstats
path: root/importxml.pl
diff options
context:
space:
mode:
Diffstat (limited to 'importxml.pl')
-rwxr-xr-ximportxml.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/importxml.pl b/importxml.pl
index 19be9a61a..e4eeb014f 100755
--- a/importxml.pl
+++ b/importxml.pl
@@ -133,7 +133,8 @@ sub MailMessage {
my $subject = shift;
my $message = shift;
my @recipients = @_;
- my $from = $params->{"mailfrom"};
+ my $from = '"' . template_var('terms')->{'BugzillaTitle'} . '"' .
+ ' <' . Bugzilla->params->{'mailfrom'} . '>';
$from =~ s/@/\@/g;
foreach my $to (@recipients){