SMTP 관련 코드 수정
This commit is contained in:
@ -17,7 +17,7 @@ function mailer($fname, $fmail, $to, $subject, $content, $type=0, $file="", $cc=
|
|||||||
$content = nl2br($content);
|
$content = nl2br($content);
|
||||||
|
|
||||||
$mail = new PHPMailer(); // defaults to using php "mail()"
|
$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->IsSMTP(); // telling the class to use SMTP
|
||||||
$mail->Host = G5_SMTP; // SMTP server
|
$mail->Host = G5_SMTP; // SMTP server
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user