From 5f692576250bcbafb02c28128f86bfc9af3124ae Mon Sep 17 00:00:00 2001 From: SIR Date: Mon, 3 Mar 2014 16:42:49 +0900 Subject: [PATCH] =?UTF-8?q?SMTP=20=EA=B4=80=EB=A0=A8=20=EC=BD=94=EB=93=9C?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/mailer.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mailer.lib.php b/lib/mailer.lib.php index cc11f6b1f..a149931b7 100644 --- a/lib/mailer.lib.php +++ b/lib/mailer.lib.php @@ -17,7 +17,7 @@ function mailer($fname, $fmail, $to, $subject, $content, $type=0, $file="", $cc= $content = nl2br($content); $mail = new PHPMailer(); // defaults to using php "mail()" - if (defined('G5_SMTP')) { + if (defined('G5_SMTP') && G5_SMTP) { $mail->IsSMTP(); // telling the class to use SMTP $mail->Host = G5_SMTP; // SMTP server }