From b42bbaed28122b86c31bb4aa9963607e299660a0 Mon Sep 17 00:00:00 2001 From: g6323117 Date: Mon, 6 Jul 2015 23:37:43 +0800 Subject: [PATCH] Update emailreports.pm --- lib/emailreports.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/emailreports.pm b/lib/emailreports.pm index 4f72063..b7ca1ca 100644 --- a/lib/emailreports.pm +++ b/lib/emailreports.pm @@ -200,7 +200,7 @@ EOF ); } - if(lc($config->{method} || "") eq "relay") { + if(lc($emailreports->{method} || "") eq "relay") { $msg->send(); } else {